Skip to content

Commit 954c371

Browse files
author
Nick
committed
Add quotes to avoid issues if BIN_DIR contains spaces
1 parent 0a2842a commit 954c371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/bin/build-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set +x
44

55
BIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6-
cd $BIN_DIR/..
6+
cd "$BIN_DIR"/..
77

88
if [ -z "$GOPATH" -o -z "$(which go)" ]; then
99
echo "Missing GOPATH environment variable or 'go' executable. Please configure a Go build environment."

0 commit comments

Comments
 (0)