scripts: devcompile works properly in Cygwin

pull/919/head
Mitchell Hashimoto 12 years ago
parent 2a9202bacc
commit 602ed10e89

@ -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

Loading…
Cancel
Save