diff --git a/scripts/githooks/pre-commit b/scripts/githooks/pre-commit index ef09637..5f99aab 100755 --- a/scripts/githooks/pre-commit +++ b/scripts/githooks/pre-commit @@ -15,7 +15,7 @@ fi git branch|grep -q "* master" if [ $? -eq 0 ]; then - svn update ~/opensource/game2001_proto/scripts - cp -f server/tools/protobuild/cs_*.proto ~/opensource/game2001_proto/scripts - svn commit -m '同步协议' ~/opensource/game2001_proto/scripts + svn update ~/opensource/game2001_proto/resources/ + cp -f server/tools/protobuild/cs_*.proto ~/opensource/game2001_proto/resources/ + svn commit -m '同步协议' ~/opensource/game2001_proto/resources/ fi