|
|
|
@ -15,6 +15,8 @@
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
|
#
|
|
|
|
@ -55,7 +57,7 @@
|
|
|
|
|
# Darwin, MinGW, and NonStop.
|
|
|
|
|
#
|
|
|
|
|
# (3) This script is generated from the Groovy template
|
|
|
|
|
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
|
|
|
|
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
|
|
|
|
# within the Gradle project.
|
|
|
|
|
#
|
|
|
|
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
|
|
|
@ -84,7 +86,7 @@ done
|
|
|
|
|
# shellcheck disable=SC2034
|
|
|
|
|
APP_BASE_NAME=${0##*/}
|
|
|
|
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
|
|
|
|
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
|
|
|
|
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
|
|
|
|
|
|
|
|
|
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
|
|
|
MAX_FD=maximum
|
|
|
|
@ -203,7 +205,7 @@ fi
|
|
|
|
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
|
|
|
|
|
|
|
|
# Collect all arguments for the java command:
|
|
|
|
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
|
|
|
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
|
|
|
|
# and any embedded shellness will be escaped.
|
|
|
|
|
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
|
|
|
|
# treated as '${Hostname}' itself on the command line.
|
|
|
|
|