浏览代码

documentation

milan jurkulák 2 年之前
父节点
当前提交
6a55aa9866
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      scripts/update-wiki.sh

+ 1 - 1
scripts/update-wiki.sh

@@ -32,7 +32,7 @@ email=`git log -1 --format="%ae"`
 message=`git log -1 --format="%s"`
 # Changes check
 echo "Checking if wiki has changes"
-cd "$TEMP_WIKI_DIR"
+cd "$TEMP_REPO_DIR" || exit
 git config --local user.email "$email"
 git config --local user.name "$author"
 git add .