aboutsummaryrefslogtreecommitdiff
path: root/gradlew
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-09-02 16:44:59 +0300
committerGravatar Vitaly Takmazov2019-09-02 16:44:59 +0300
commit29461cff6d0135544fbffae3104e50e3ebab2ba1 (patch)
treec53d278d0f2521925a14945ee2993a76862c88a0 /gradlew
parentf40b59996986b5a2497896ac93871a43ec0542e3 (diff)
Update deps and Gradle wrapper
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew4
1 files changed, 2 insertions, 2 deletions
diff --git a/gradlew b/gradlew
index 8e25e6c1..83f2acfd 100755
--- a/gradlew
+++ b/gradlew
@@ -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"`