mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 01:30:06 -04:00
Merge pull request #2573 from pecigonzalo/f-build-mingw
Update Make and Build.sh so it works on MinGW
This commit is contained in:
commit
cf8933e374
1 changed files with 10 additions and 1 deletions
|
|
@ -62,7 +62,16 @@ case $(uname) in
|
|||
;;
|
||||
esac
|
||||
OLDIFS=$IFS
|
||||
IFS=: MAIN_GOPATH=($GOPATH)
|
||||
IFS=:
|
||||
case $(uname) in
|
||||
MINGW*)
|
||||
IFS=";"
|
||||
;;
|
||||
MSYS*)
|
||||
IFS=";"
|
||||
;;
|
||||
esac
|
||||
MAIN_GOPATH=($GOPATH)
|
||||
IFS=$OLDIFS
|
||||
|
||||
# Copy our OS/Arch to the bin/ directory
|
||||
|
|
|
|||
Loading…
Reference in a new issue