From 37b11eb9e912833d30928ae1eaac7554f6fc5c95 Mon Sep 17 00:00:00 2001 From: John Dennis Casey <jdcasey@apache.org> Date: Wed, 6 Feb 2008 19:26:54 +0000 Subject: [PATCH] [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 --- maven-embedder/src/bin/mvn.bat | 4 ++-- maven-embedder/src/bin/mvnDebug.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/maven-embedder/src/bin/mvn.bat b/maven-embedder/src/bin/mvn.bat index 32878976f0..6081ec79cc 100644 --- a/maven-embedder/src/bin/mvn.bat +++ b/maven-embedder/src/bin/mvn.bat @@ -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. diff --git a/maven-embedder/src/bin/mvnDebug.bat b/maven-embedder/src/bin/mvnDebug.bat index 2a3a4b887d..369d691d3f 100644 --- a/maven-embedder/src/bin/mvnDebug.bat +++ b/maven-embedder/src/bin/mvnDebug.bat @@ -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.