⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 save-patch

📁 这是linux下运行的mysql软件包,可用于linux 下安装 php + mysql + apach 的网络配置
💻
字号:
#! /bin/sh# debug#set -x# stop on errorsset -e# repository directoryrepo_dir=`pwd`# show usageshow_usage(){	cat << EOFusage: save-patchCreates a patch file between the latest revision of the current treeand the latest revision not created by \$BK_USER and places it inthe tree as netware/current-changes.patchEOF	exit 0;}if test $1 || test -z $BK_USERthen	show_usagefiecho "starting patch..."echo "user: $BK_USER"# check for bk and repo_dirbk help > /dev/nullrepo_dir=`bk root $repo_dir`cd $repo_dir# determine versionversion=`grep -e "AM_INIT_AUTOMAKE(mysql, .*)" < configure.in | sed -e "s/AM_INIT_AUTOMAKE(mysql, \(.*\))/\1/"`echo "version: $version"# user revisionuser_rev=`bk changes -e -n -d':REV:' | head -1`echo "latest revision: $user_rev"# tree revisiontree_rev=`bk changes -e -n -d':REV:' -U$BK_USER | head -1`echo "latest non-$BK_USER revision: $tree_rev"# create patchpatch="$repo_dir/netware/current-changes.patch"echo "creating \"$patch\"..."bk export -tpatch -r$tree_rev..$user_rev -xnetware/current-changes.patch > $patch

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -