Author: aheritier
Date: Wed Aug 24 16:18:43 2005
New Revision: 239963

URL: http://svn.apache.org/viewcvs?rev=239963&view=rev
Log:
Don't explicitly call the endlocal or it will restore an old value for 
%ERROR_CODE% (from a previous run for example).
@endlocal is implicitly called at the end of the script.

Modified:
    maven/maven-1/core/trunk/src/bin/maven.bat

Modified: maven/maven-1/core/trunk/src/bin/maven.bat
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/src/bin/maven.bat?rev=239963&r1=239962&r2=239963&view=diff
==============================================================================
--- maven/maven-1/core/trunk/src/bin/maven.bat (original)
+++ maven/maven-1/core/trunk/src/bin/maven.bat Wed Aug 24 16:18:43 2005
@@ -143,7 +143,6 @@
 set ERROR_CODE=1
 
 :end
[EMAIL PROTECTED] set local scope for the variables with windows NT shell
 if "%OS%"=="Windows_NT" goto endNT
 
 @REM For old DOS remove the set variables from ENV - we assume they were not 
set
@@ -155,7 +154,6 @@
 goto postExec
 
 :endNT
[EMAIL PROTECTED]
 
 :postExec
 if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to