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: lulzbot-14.12~58 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2d176446cdf2fb071098e60b0f0f7fe9630e3bdf;p=cura.git Make package.sh work for paths containing spaces --- diff --git a/package.sh b/package.sh index 65611c1d..eb78dae2 100755 --- a/package.sh +++ b/package.sh @@ -88,7 +88,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/"