mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user