summaryrefslogtreecommitdiffhomepage
path: root/gradlew
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-09-12 12:28:02 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-09-12 12:28:02 +0530
commitdb52515dc633f23bf4b44a4f5b63eed8389302df (patch)
treeb4ce263fdfab5f8ce27d06f3aede8fb31ca461c7 /gradlew
parent0be12b8d07f2632deb2100b4e8e025626c0fe85a (diff)
gradle: upgrade to 8.3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
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