Revert changes to generated 'gradlew' script

This script is generated by running `gradle wrapper`, so it's best not
to modify it at all. To actually fix this typo, a pull request should be
submitted to https://github.com/gradle/gradle itself.
This commit is contained in:
Chris Beams 2018-05-08 08:45:05 +02:00
parent e81a665f9b
commit e5c99e220f
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73

2
gradlew vendored
View File

@ -164,7 +164,7 @@ APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on macOS, the cwd is wrong
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi