[MNG-2178] Modding M2_HOME detection for winnt.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@619114 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2008-02-06 19:26:54 +00:00
parent 1611fcfbdf
commit 37b11eb9e9
2 changed files with 4 additions and 4 deletions

View File

@ -73,8 +73,8 @@ goto error
:chkMHome
if not "%M2_HOME%"=="" goto valMHome
if "%OS%"=="Windows_NT" SET M2_HOME=%~dp0\..
if "%OS%"=="WINNT" SET M2_HOME=%~dp0\..
if "%OS%"=="Windows_NT" SET M2_HOME=%~dp0..
if "%OS%"=="WINNT" SET M2_HOME=%~dp0..
if not "%M2_HOME%"=="" goto valMHome
echo.

View File

@ -76,8 +76,8 @@ goto error
:chkMHome
if not "%M2_HOME%"=="" goto valMHome
if "%OS%"=="Windows_NT" SET M2_HOME=%~dp0\..
if "%OS%"=="WINNT" SET M2_HOME=%~dp0\..
if "%OS%"=="Windows_NT" SET M2_HOME=%~dp0..
if "%OS%"=="WINNT" SET M2_HOME=%~dp0..
if not "%M2_HOME%"=="" goto valMHome
echo.