scripts: devcompile works properly in Cygwin

This commit is contained in:
Mitchell Hashimoto
2014-01-16 15:52:42 -08:00
parent 25cb57ef5a
commit 2001a7987e
+5
View File
@@ -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