continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r396477 - /maven/continuum/trunk/continuum-site/src/site/resources/scripts/mvn.bat
Date Mon, 24 Apr 2006 08:38:19 GMT
Author: evenisse
Date: Mon Apr 24 01:38:17 2006
New Revision: 396477

URL: http://svn.apache.org/viewcvs?rev=396477&view=rev
Log:
Use latest mvn.bat

Modified:
    maven/continuum/trunk/continuum-site/src/site/resources/scripts/mvn.bat

Modified: maven/continuum/trunk/continuum-site/src/site/resources/scripts/mvn.bat
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-site/src/site/resources/scripts/mvn.bat?rev=396477&r1=396476&r2=396477&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-site/src/site/resources/scripts/mvn.bat (original)
+++ maven/continuum/trunk/continuum-site/src/site/resources/scripts/mvn.bat Mon Apr 24 01:38:17
2006
@@ -38,11 +38,11 @@
 @REM Execute a user defined script before this one
 if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
 
+set ERROR_CODE=0
+
 @REM set local scope for the variables with windows NT shell
 if "%OS%"=="Windows_NT" @setlocal
 
-set ERROR_CODE=0
-
 @REM ==== START VALIDATION ====
 if not "%JAVA_HOME%" == "" goto OkJHome
 
@@ -67,7 +67,7 @@
 :chkMHome
 if not "%M2_HOME%"=="" goto valMHome
 
-if "%OS%"=="Windows_NT" SET M2_HOME=%~dps0\..
+if "%OS%"=="Windows_NT" SET M2_HOME=%~dp0\..
 if not "%M2_HOME%"=="" goto valMHome
 
 echo.



Mime
View raw message