mirror of https://github.com/apache/maven.git
PR: MNG-1318
use ~dp0 instead of ~dps0 since that is broken on Windows 2000 and XP (prior to SP2). git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382801 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16f876c2f3
commit
aaaf6537f6
|
@ -67,7 +67,7 @@ goto error
|
|||
: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.
|
||||
|
|
Loading…
Reference in New Issue