mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-05 14:13:24 -04:00
Fixes #806 Build fails if GOPATH has multiple paths
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user