diff options
author | ISylvox <ISylvox@yahoo.com> | 2017-07-30 11:30:20 +0700 |
---|---|---|
committer | ISylvox <ISylvox@yahoo.com> | 2017-07-30 11:30:20 +0700 |
commit | 0d8556a7f0ec7290a1895bbee0a0dcf8112cb918 (patch) | |
tree | 912425937ba5499aecd73e9f4e842dad7401f076 /platform/android/java/gradlew | |
parent | 597e5ebedf6ccb6a19309f3f648f668b57052660 (diff) |
update gradle-android buildtool for master
Diffstat (limited to 'platform/android/java/gradlew')
-rwxr-xr-x | platform/android/java/gradlew | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/platform/android/java/gradlew b/platform/android/java/gradlew index 91a7e269e1..9d82f78915 100755 --- a/platform/android/java/gradlew +++ b/platform/android/java/gradlew @@ -42,11 +42,6 @@ case "`uname`" in ;; esac -# For Cygwin, ensure paths are in UNIX format before anything is touched. -if $cygwin ; then - [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` -fi - # Attempt to set APP_HOME # Resolve links: $0 may be a link PRG="$0" @@ -61,9 +56,9 @@ while [ -h "$PRG" ] ; do fi done SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >&- +cd "`dirname \"$PRG\"`/" >/dev/null APP_HOME="`pwd -P`" -cd "$SAVED" >&- +cd "$SAVED" >/dev/null CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar @@ -114,6 +109,7 @@ fi if $cygwin ; then APP_HOME=`cygpath --path --mixed "$APP_HOME"` CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` # We build the pattern for arguments to be converted via cygpath ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` |