comparison gradlew @ 12:0a2819478262

update gradle wrapper
author smith@nwoca.org
date Wed, 14 Aug 2013 19:28:51 +0100
parents c51874d4a5a7
children e531fc141b17
comparison
equal deleted inserted replaced
11:d2c962f2b83c 12:0a2819478262
1 #!/bin/bash 1 #!/usr/bin/env bash
2 2
3 ############################################################################## 3 ##############################################################################
4 ## 4 ##
5 ## Gradle start up script for UN*X 5 ## Gradle start up script for UN*X
6 ## 6 ##
59 else 59 else
60 PRG=`dirname "$PRG"`"/$link" 60 PRG=`dirname "$PRG"`"/$link"
61 fi 61 fi
62 done 62 done
63 SAVED="`pwd`" 63 SAVED="`pwd`"
64 cd "`dirname \"$PRG\"`/" 64 cd "`dirname \"$PRG\"`/" >&-
65 APP_HOME="`pwd -P`" 65 APP_HOME="`pwd -P`"
66 cd "$SAVED" 66 cd "$SAVED" >&-
67 67
68 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 69
70 # Determine the Java command to use to start the JVM. 70 # Determine the Java command to use to start the JVM.
71 if [ -n "$JAVA_HOME" ] ; then 71 if [ -n "$JAVA_HOME" ] ; then
99 ulimit -n $MAX_FD 99 ulimit -n $MAX_FD
100 if [ $? -ne 0 ] ; then 100 if [ $? -ne 0 ] ; then
101 warn "Could not set maximum file descriptor limit: $MAX_FD" 101 warn "Could not set maximum file descriptor limit: $MAX_FD"
102 fi 102 fi
103 else 103 else
104 warn "Could not query businessSystem maximum file descriptor limit: $MAX_FD_LIMIT" 104 warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 fi 105 fi
106 fi 106 fi
107 107
108 # For Darwin, add options to specify how the application appears in the dock 108 # For Darwin, add options to specify how the application appears in the dock
109 if $darwin; then 109 if $darwin; then