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:
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…
Reference in New Issue