diff --git a/scripts/devcompile.sh b/scripts/devcompile.sh index f4f26d7e7..4a4274c5b 100755 --- a/scripts/devcompile.sh +++ b/scripts/devcompile.sh @@ -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