When using MinGW gopath uses ; as separators, if we use : it strips everything after the driver letter. EG: C:\GO_Working\ gets stripped to C and makes ```make dev``` and ```make``` fail

This commit is contained in:
Gonzalo Peci 2015-08-10 16:55:59 +12:00
parent e60b3745f5
commit 0006cce41b
1 changed files with 10 additions and 1 deletions

View File

@ -62,7 +62,16 @@ case $(uname) in
;; ;;
esac esac
OLDIFS=$IFS OLDIFS=$IFS
IFS=: MAIN_GOPATH=($GOPATH) IFS=:
case $(uname) in
MINGW*)
IFS=";"
;;
MSYS*)
IFS=";"
;;
esac
MAIN_GOPATH=($GOPATH)
IFS=$OLDIFS IFS=$OLDIFS
# Copy our OS/Arch to the bin/ directory # Copy our OS/Arch to the bin/ directory