aboutsummaryrefslogtreecommitdiff
path: root/gradlew
diff options
context:
space:
mode:
authorVermeil <120065660+VermeilChan@users.noreply.github.com>2024-01-30 19:23:45 +0100
committerLinnea Gräf <nea@nea.moe>2024-01-30 20:47:35 +0100
commite91c259c6ad318a91bfa729e707f17b3bb488d32 (patch)
tree2298c2391074e10fd2d47b6bd88e2e188cb91a78 /gradlew
parentd449a6860bdfd4994caddf6b37e0792e439a52d3 (diff)
downloadForge1.8.9Template-e91c259c6ad318a91bfa729e707f17b3bb488d32.tar.gz
Forge1.8.9Template-e91c259c6ad318a91bfa729e707f17b3bb488d32.tar.bz2
Forge1.8.9Template-e91c259c6ad318a91bfa729e707f17b3bb488d32.zip
Bump Gradle To 8.5
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew3
1 files changed, 2 insertions, 1 deletions
diff --git a/gradlew b/gradlew
index fcb6fca..0adc8e1 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