[MNG-6001] Replace %HOME% with %USERPROFILE% in mvn.cmd

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

Branch: refs/heads/DEPMGMT-IMPORT-IT
Commit: 1953635cab593ae0080ec346b7a167d9dc4e52a0
Parents: 5bd6b2a
Author: Michael Osipov <micha...@apache.org>
Authored: Fri Apr 15 13:06:24 2016 +0200
Committer: Christian Schulte <schu...@apache.org>
Committed: Tue Jan 31 18:26:38 2017 +0100

----------------------------------------------------------------------
 apache-maven/src/bin/mvn.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/1953635c/apache-maven/src/bin/mvn.cmd
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd
index 543740e..17fae03 100644
--- a/apache-maven/src/bin/mvn.cmd
+++ b/apache-maven/src/bin/mvn.cmd
@@ -30,7 +30,7 @@
 @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
 @echo off
 @REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
-@if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO%
+@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
 
 @REM Execute a user defined script before this one
 if not "%MAVEN_SKIP_RC%"=="" goto skipRcPre

Reply via email to