You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ah...@apache.org on 2005/08/25 01:18:48 UTC

svn commit: r239963 - /maven/maven-1/core/trunk/src/bin/maven.bat

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
-@REM 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
-@endlocal
 
 :postExec
 if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org