From 53319e7f0d0bab249c96729afca4dc35289d8717 Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Thu, 22 Jan 2015 17:13:02 -0800 Subject: [PATCH] build: don't fail if GOPATH is unset build should be callable even if the user's env has no GOPATH in it --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index a62380b..7afbb57 100755 --- a/build +++ b/build @@ -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)