Fix the path contains spaces lead to tool script failure (#117)

This commit is contained in:
Cotes Chung
2020-08-30 14:49:36 +08:00
parent 31656e8cda
commit 2d7df50774
5 changed files with 7 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ set -eu
CMD="JEKYLL_ENV=production bundle exec jekyll b"
WORK_DIR="$(dirname $(dirname $(realpath "$0")))"
WORK_DIR="$(dirname "$(dirname "$(realpath "$0")")")"
CONTAINER="${WORK_DIR}/.container"