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
remotes/1776816827838153613/tmp_25f451bd36ab3145e487fcb2cd5c62c571e5b602
Steve Loughran 19 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
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
REM set the error code
color 00
goto cleanup

:runAnt


Loading…
Cancel
Save