quote $DIR to allow $GOPATH to include spaces

This commit is contained in:
Joseph Anthony Pasquale Holsten 2014-11-25 15:26:03 -08:00
parent a5d444b8e3
commit 29a91c7db7
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
# Change into that directory
cd $DIR
cd "$DIR"
# Get the git commit
GIT_COMMIT=$(git rev-parse HEAD)