mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-05 06:03:17 -04:00
scripts: devcompile works properly in Cygwin
This commit is contained in:
@@ -56,5 +56,10 @@ export XC_OS=$(go env GOOS)
|
||||
./scripts/compile.sh
|
||||
|
||||
# Move all the compiled things to the PATH
|
||||
case $(uname) in
|
||||
CYGWIN*)
|
||||
GOPATH="$(cygpath $GOPATH)"
|
||||
;;
|
||||
esac
|
||||
IFS=: MAIN_GOPATH=( $GOPATH )
|
||||
cp pkg/${XC_OS}_${XC_ARCH}/* ${MAIN_GOPATH}/bin
|
||||
|
||||
Reference in New Issue
Block a user