This commit is contained in:
Mr Chen
2018-12-13 18:20:27 +08:00
parent bdc46d9401
commit 3e3cdbe18c
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -8,4 +8,5 @@ TXN_NAME="$3"
REPOS_NAME=${REPOS##*/}
PRJOECT_DIR={$PRJOECT_DIR}/wwwroot/$REPOS_NAME
WEB_DIR={$PRJOECT_DIR}/wwwroot/$REPOS_NAME
SVN_PATH=http://127.0.0.1:{$PORT}/svn/$REPOS_NAME
+1
View File
@@ -524,6 +524,7 @@ def projectScriptLoad():
content = public.readFile(commit_tpl)
content = content.replace('{$PRJOECT_DIR}', public.getRootDir())
content = content.replace('{$PORT}', getHttpPort())
public.writeFile(pro_commit_file, content)
public.execShell('chmod 777 ' + pro_commit_file)