aboutsummaryrefslogtreecommitdiffstats
path: root/gradlew
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2024-08-16 12:08:48 +0000
committerPJ Fanning <fanningpj@apache.org>2024-08-16 12:08:48 +0000
commit1ba795451e2c8e1d42a0199285f32353e7c86c95 (patch)
tree58762e3ae1a1bbe75e1fb0ccf06b28df6c6b4e94 /gradlew
parentb0c67177ffbaf0faa7361dea4e49a90ed055b23f (diff)
downloadpoi-1ba795451e2c8e1d42a0199285f32353e7c86c95.tar.gz
poi-1ba795451e2c8e1d42a0199285f32353e7c86c95.zip
gradle 8.10
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919930 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew7
1 files changed, 5 insertions, 2 deletions
diff --git a/gradlew b/gradlew
index 1aa94a4269..f5feea6d6b 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
+#
##############################################################################
#
@@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
-# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
+# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -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