From: Martin Wickham Date: Sat, 18 Oct 2014 06:15:22 +0000 (-0500) Subject: Make package.sh work for paths containing spaces X-Git-Tag: 14.10-RC5~18^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d30f00d01ceeacdce211c9df838f37d4f4c88ca3;p=cura.git Make package.sh work for paths containing spaces --- diff --git a/package.sh b/package.sh index f4c03c6f..02c41348 100755 --- a/package.sh +++ b/package.sh @@ -82,7 +82,7 @@ fi # Change working directory to the directory the script is in # http://stackoverflow.com/a/246128 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -cd $SCRIPT_DIR +cd "$SCRIPT_DIR" checkTool git "git: http://git-scm.com/" checkTool curl "curl: http://curl.haxx.se/"