You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/01/06 18:14:14 UTC

[3/3] maven git commit: [MNG-6332] Cleaned up mvn.cmd Script

[MNG-6332] Cleaned up mvn.cmd Script


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/ace3e7b9
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/ace3e7b9
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/ace3e7b9

Branch: refs/heads/MNG-6332
Commit: ace3e7b907c23e7c42f6bb6267a3ffaa589aa4a6
Parents: 6b83f7e
Author: Karl Heinz Marbaise <kh...@apache.org>
Authored: Sat Dec 30 21:14:10 2017 +0100
Committer: Karl Heinz Marbaise <kh...@apache.org>
Committed: Sat Jan 6 19:13:58 2018 +0100

----------------------------------------------------------------------
 apache-maven/src/bin/mvn.cmd | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/ace3e7b9/apache-maven/src/bin/mvn.cmd
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd
index 7b0b271..823ccf0 100644
--- a/apache-maven/src/bin/mvn.cmd
+++ b/apache-maven/src/bin/mvn.cmd
@@ -61,11 +61,9 @@ goto error
 
 :chkMHome
 set "MAVEN_HOME=%~dp0.."
-if not "%MAVEN_HOME%"=="" goto valMHome
+if not "%MAVEN_HOME%"=="" goto stripMHome
 goto error
 
-:valMHome
-
 :stripMHome
 if not "_%MAVEN_HOME:~-1%"=="_\" goto checkMCmd
 set "MAVEN_HOME=%MAVEN_HOME:~0,-1%"