From 5d75944ef300b714f1ba78b4ab9728013e7fab2b Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Fri, 10 Jan 2014 16:35:07 +0100 Subject: [PATCH] Fixes #806 Build fails if GOPATH has multiple paths --- scripts/devcompile.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/devcompile.sh b/scripts/devcompile.sh index 51f1b18f0..ffce3f44f 100755 --- a/scripts/devcompile.sh +++ b/scripts/devcompile.sh @@ -56,4 +56,5 @@ export XC_OS=$(go env GOOS) ./scripts/compile.sh # Move all the compiled things to the PATH -cp pkg/${XC_OS}_${XC_ARCH}/* ${GOPATH}/bin +IFS=: MAIN_GOPATH=( $GOPATH ) +cp pkg/${XC_OS}_${XC_ARCH}/* ${MAIN_GOPATH}/bin