• R/O
  • SSH
  • HTTPS

mergedoc: Commit


Commit MetaInfo

Revisión2943 (tree)
Tiempo2022-11-02 14:14:56
Autorcypher256

Log Message

(empty log message)

Cambiar Resumen

Diferencia incremental

--- trunk/Pleiades/gradlew.bat (revision 2942)
+++ trunk/Pleiades/gradlew.bat (revision 2943)
@@ -14,7 +14,7 @@
1414 @rem limitations under the License.
1515 @rem
1616
17-@if "%DEBUG%" == "" @echo off
17+@if "%DEBUG%"=="" @echo off
1818 @rem ##########################################################################
1919 @rem
2020 @rem Gradle startup script for Windows
@@ -25,7 +25,7 @@
2525 if "%OS%"=="Windows_NT" setlocal
2626
2727 set DIRNAME=%~dp0
28-if "%DIRNAME%" == "" set DIRNAME=.
28+if "%DIRNAME%"=="" set DIRNAME=.
2929 set APP_BASE_NAME=%~n0
3030 set APP_HOME=%DIRNAME%
3131
@@ -40,7 +40,7 @@
4040
4141 set JAVA_EXE=java.exe
4242 %JAVA_EXE% -version >NUL 2>&1
43-if "%ERRORLEVEL%" == "0" goto execute
43+if %ERRORLEVEL% equ 0 goto execute
4444
4545 echo.
4646 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -75,13 +75,15 @@
7575
7676 :end
7777 @rem End local scope for the variables with windows NT shell
78-if "%ERRORLEVEL%"=="0" goto mainEnd
78+if %ERRORLEVEL% equ 0 goto mainEnd
7979
8080 :fail
8181 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8282 rem the _cmd.exe /c_ return code!
83-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84-exit /b 1
83+set EXIT_CODE=%ERRORLEVEL%
84+if %EXIT_CODE% equ 0 set EXIT_CODE=1
85+if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
86+exit /b %EXIT_CODE%
8587
8688 :mainEnd
8789 if "%OS%"=="Windows_NT" endlocal
Show on old repository browser