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

pull/2573/head
Gonzalo Peci 11 years ago
parent e60b3745f5
commit 0006cce41b

@ -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…
Cancel
Save