From d8c309a31080f2db548178558522fc11769dd60c Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 18 Feb 2020 17:09:07 +0000 Subject: [PATCH] Update gradlew.bat with Gradle 6.2's changes See gh-20213 --- gradlew.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gradlew.bat b/gradlew.bat index 9618d8d960..62bd9b9cce 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=. set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"