Fixes #806 Build fails if GOPATH has multiple paths

This commit is contained in:
Rickard von Essen 2014-01-10 16:35:07 +01:00
parent 73e57d918f
commit 5d75944ef3
1 changed files with 2 additions and 1 deletions

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