mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-29 03:04:02 -04:00
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:
@@ -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