|
@@ -42,11 +42,6 @@ case "`uname`" in
|
42
|
42
|
;;
|
43
|
43
|
esac
|
44
|
44
|
|
45
|
|
-# For Cygwin, ensure paths are in UNIX format before anything is touched.
|
46
|
|
-if $cygwin ; then
|
47
|
|
- [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
48
|
|
-fi
|
49
|
|
-
|
50
|
45
|
# Attempt to set APP_HOME
|
51
|
46
|
# Resolve links: $0 may be a link
|
52
|
47
|
PRG="$0"
|
|
@@ -61,9 +56,9 @@ while [ -h "$PRG" ] ; do
|
61
|
56
|
fi
|
62
|
57
|
done
|
63
|
58
|
SAVED="`pwd`"
|
64
|
|
-cd "`dirname \"$PRG\"`/" >&-
|
|
59
|
+cd "`dirname \"$PRG\"`/" >/dev/null
|
65
|
60
|
APP_HOME="`pwd -P`"
|
66
|
|
-cd "$SAVED" >&-
|
|
61
|
+cd "$SAVED" >/dev/null
|
67
|
62
|
|
68
|
63
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
69
|
64
|
|
|
@@ -114,6 +109,7 @@ fi
|
114
|
109
|
if $cygwin ; then
|
115
|
110
|
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
116
|
111
|
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
112
|
+ JAVACMD=`cygpath --unix "$JAVACMD"`
|
117
|
113
|
|
118
|
114
|
# We build the pattern for arguments to be converted via cygpath
|
119
|
115
|
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|