mirror of https://github.com/sbt/sbt.git
commit
0981c0a5e5
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
set SBT_HOME=%~dp0
|
set SBT_HOME=%~dp0
|
||||||
set ERROR_CODE=0
|
|
||||||
|
|
||||||
rem FIRST we load the config file of extra options.
|
rem FIRST we load the config file of extra options.
|
||||||
set FN=%SBT_HOME%\..\conf\sbtconfig.txt
|
set FN=%SBT_HOME%\..\conf\sbtconfig.txt
|
||||||
|
|
@ -45,10 +44,10 @@ if ERRORLEVEL 1 goto error
|
||||||
goto end
|
goto end
|
||||||
|
|
||||||
:error
|
:error
|
||||||
set ERROR_CODE=1
|
@endlocal
|
||||||
|
exit /B 1
|
||||||
|
|
||||||
|
|
||||||
:end
|
:end
|
||||||
|
|
||||||
@endlocal
|
@endlocal
|
||||||
|
exit /B 0
|
||||||
exit /B %ERROR_CODE%
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue