diff options
Diffstat (limited to 'gradlew')
-rwxr-xr-x | gradlew | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -83,7 +83,8 @@ done | |||
83 | # This is normally unused | 83 | # This is normally unused |
84 | # shellcheck disable=SC2034 | 84 | # shellcheck disable=SC2034 |
85 | APP_BASE_NAME=${0##*/} | 85 | APP_BASE_NAME=${0##*/} |
86 | APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit | 86 | # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) |
87 | APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit | ||
87 | 88 | ||
88 | # Use the maximum available, or set MAX_FD != -1 to use that value. | 89 | # Use the maximum available, or set MAX_FD != -1 to use that value. |
89 | MAX_FD=maximum | 90 | MAX_FD=maximum |