mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Fixes #806 Build fails if GOPATH has multiple paths
This commit is contained in:
parent
73e57d918f
commit
5d75944ef3
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue