Add MAVEN_TERMINATE_CMD.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@332782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-11-12 15:20:21 +00:00
parent fffa6fd8e4
commit 4b310ef198
1 changed files with 2 additions and 0 deletions

View File

@ -152,5 +152,7 @@ if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
@REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
exit /B %ERROR_CODE%