summaryrefslogtreecommitdiff
path: root/gradlew
diff options
context:
space:
mode:
authorYves Fischer <yves.fischer@cern.ch>2016-01-27 13:13:00 +0100
committerYves Fischer <yves.fischer@cern.ch>2016-01-27 13:13:00 +0100
commitc3d5f9c53dbd13e4c611a62ea8b2387a3d1cd881 (patch)
tree3b7308378c5d3218ab60fa7403fdc01b60114f7c /gradlew
parent57a3a39ba2b79c37f59d212bb14c7f9df91cf478 (diff)
downloadglocals-classifieds-c3d5f9c53dbd13e4c611a62ea8b2387a3d1cd881.tar.gz
glocals-classifieds-c3d5f9c53dbd13e4c611a62ea8b2387a3d1cd881.zip
update dependencies
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew10
1 files changed, 3 insertions, 7 deletions
diff --git a/gradlew b/gradlew
index 91a7e26..9d82f78 100755
--- a/gradlew
+++ b/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`