build: don't fail if GOPATH is unset

build should be callable even if the user's env has no GOPATH in it
This commit is contained in:
Jonathan Boulle
2015-01-22 17:13:02 -08:00
parent 703ce0ce43
commit 53319e7f0d
+1 -1
View File
@@ -9,7 +9,7 @@ if [ ! -h gopath/src/${REPO_PATH} ]; then
fi
export GOBIN=${PWD}/bin
export GOPATH=${GOPATH}:${PWD}/gopath
export GOPATH=${GOPATH:-}:${PWD}/gopath
eval $(go env)