mirror of https://github.com/apache/maven.git
[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:
parent
1611fcfbdf
commit
37b11eb9e9
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue