Merge pull request #807 from rickard-von-essen/806_multiple_gopaths

Fixes #806 Build fails if GOPATH has multiple paths
This commit is contained in:
Mitchell Hashimoto
2014-01-10 07:58:51 -08:00
+2 -1
View File
@@ -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