Browse Source

patch build.bat to set the NT error code if bootstrapping failed, to be consistent with the build.sh script.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@452919 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 18 years ago
parent
commit
dbfcca746b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      build.bat

+ 2
- 0
build.bat View File

@@ -21,6 +21,8 @@ if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap
call bootstrap.bat call bootstrap.bat
if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt
echo Bootstrap FAILED echo Bootstrap FAILED
REM set the error code
color 00
goto cleanup goto cleanup


:runAnt :runAnt


Loading…
Cancel
Save