maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ken...@apache.org
Subject svn commit: r382801 - /maven/components/trunk/maven-core/src/bin/mvn.bat
Date Fri, 03 Mar 2006 13:13:06 GMT
Author: kenney
Date: Fri Mar  3 05:13:06 2006
New Revision: 382801

URL: http://svn.apache.org/viewcvs?rev=382801&view=rev
Log:
PR: MNG-1318

use ~dp0 instead of ~dps0 since that is broken
on Windows 2000 and XP (prior to SP2).

Modified:
    maven/components/trunk/maven-core/src/bin/mvn.bat

Modified: maven/components/trunk/maven-core/src/bin/mvn.bat
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/bin/mvn.bat?rev=382801&r1=382800&r2=382801&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/bin/mvn.bat (original)
+++ maven/components/trunk/maven-core/src/bin/mvn.bat Fri Mar  3 05:13:06 2006
@@ -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