摘要:
````#! /bin/bashREPOS="$1"REV="$2"#SVN="/usr/bin/svn"#NGINX="/usr/sbin/nginx"WWWROOT="/d01/www"del(){ if [ -e $1 ];then rm -fr $1; fi}svn_up(){ /usr/... 阅读全文
摘要:
REPOS="$1"REV="$2"LOG="/d01/log/svnhook"SVN="/usr/bin/svn"WWWROOT="/d01/www";svnlook changed -r $REV $REPOS |awk -F ' ' "{system(\"$SVN\" \" up \" \... 阅读全文