瀏覽代碼

message needs to be quoted

master
belliash 8 年之前
父節點
當前提交
81d7b4a6f0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      libraries/repositories

+ 2
- 2
libraries/repositories 查看文件

@@ -137,7 +137,7 @@ function pushGit() {
run "git add ." || return 1
STATUS=$(git status --porcelain)
if [ "${STATUS}" != "" ]; then
run "git commit -a -m ${MESSAGE}" || return 1
run "git commit -a -m \"${MESSAGE}\"" || return 1
run "git push" || return 1
fi
return 0
@@ -156,7 +156,7 @@ function pushMercurial() {
run "hg add ." || return 1
STATUS=$(hg status)
if [ "${STATUS}" != "" ]; then
run "hg commit -A -m ${MESSAGE}" || return 1
run "hg commit -A -m \"${MESSAGE}\"" || return 1
run "hg push -e ${BINDIR}/ssh_wrapper.sh" || return 1
fi
return 0

Loading…
取消
儲存