summaryrefslogtreecommitdiff
path: root/gradlew
diff options
context:
space:
mode:
authorneoforged-renovate[bot] <174042230+neoforged-renovate[bot]@users.noreply.github.com>2024-07-11 22:17:54 +0300
committerGitHub <noreply@github.com>2024-07-11 22:17:54 +0300
commit3ed395e45215de831cb4eeaa1c80b02648b41aa2 (patch)
tree1665599af46cbf3d3f65e379d84d884becdcec25 /gradlew
parent9f434bde90c9e60af186f5d8a4c251e5579edcd5 (diff)
Update dependency gradle to v8.9 (#112)
Co-authored-by: neoforged-renovate[bot] <174042230+neoforged-renovate[bot]@users.noreply.github.com>
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew5
1 files changed, 4 insertions, 1 deletions
diff --git a/gradlew b/gradlew
index b740cf1..f5feea6 100755
--- a/gradlew
+++ b/gradlew
@@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+# SPDX-License-Identifier: Apache-2.0
+#
##############################################################################
#
@@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# 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
+APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
+' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum