|
@@ -125,8 +125,8 @@ if $darwin; then
|
|
|
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
|
fi
|
|
|
|
|
|
-# For Cygwin, switch paths to Windows format before running java
|
|
|
-if $cygwin ; then
|
|
|
+# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
|
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
|
|
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
|
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
|
JAVACMD=`cygpath --unix "$JAVACMD"`
|