You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ke...@apache.org on 2006/03/03 14:13:06 UTC
svn commit: r382801 - /maven/components/trunk/maven-core/src/bin/mvn.bat
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.