diff --git a/gradlew.bat b/gradlew.bat index f9553162..9b39874f 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -5,10 +5,7 @@ @rem @rem ########################################################################## -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 +@rem Set local scope for the variables with if "%DIRNAME%" == "" set DIRNAME=. set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME%