aboutsummaryrefslogtreecommitdiff
path: root/gradlew
diff options
context:
space:
mode:
authorPauline <git@ethanlibs.co>2024-04-27 19:59:05 -0400
committerPauline <git@ethanlibs.co>2024-04-27 19:59:05 -0400
commitd95fe9ab23f4ce19ed1a17b13f995aceefd14fd8 (patch)
treef01fd22131c5557c6d50ea2dcedd6206c64d7e0b /gradlew
parentcae1da9997d81af994f58ede97049fef4f123f8b (diff)
downloadIntelliProcessor-d95fe9ab23f4ce19ed1a17b13f995aceefd14fd8.tar.gz
IntelliProcessor-d95fe9ab23f4ce19ed1a17b13f995aceefd14fd8.tar.bz2
IntelliProcessor-d95fe9ab23f4ce19ed1a17b13f995aceefd14fd8.zip
♻️ refactor(plugin): refactor cc -> org and update deps, intellij
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