summaryrefslogtreecommitdiffstats
path: root/gradlew
diff options
context:
space:
mode:
authorKrakenied <Krakenied1@gmail.com>2023-12-14 13:21:04 +0100
committerLeonardo Bishop <13875753+LMBishop@users.noreply.github.com>2023-12-21 16:08:14 +0000
commit25a2d1ace6f9607a6f949f68acf4e9c9c4916868 (patch)
treea28226e21d9d20f08ea8745fd89fbb0d245717f3 /gradlew
parent5b61fc499c8c6a78f490b5fa013d74fe74af74df (diff)
Bump Gradle wrapper to 8.5
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew3
1 files changed, 2 insertions, 1 deletions
diff --git a/gradlew b/gradlew
index fcb6fca1..0adc8e1a 100755
--- a/gradlew
+++ b/gradlew
@@ -83,7 +83,8 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
-APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
+# 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
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum