[MNG-5963] mvn.cmd does not return ERROR_CODE
Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/1bc69ff9 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/1bc69ff9 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/1bc69ff9 Branch: refs/heads/MNG-5359 Commit: 1bc69ff93eb8bde73bf4b9872b78eb6f6be4865d Parents: 842b07b Author: Michael Osipov <micha...@apache.org> Authored: Wed Feb 3 23:13:55 2016 +0100 Committer: Michael Osipov <micha...@apache.org> Committed: Mon Jan 30 13:14:16 2017 +0100 ---------------------------------------------------------------------- apache-maven/src/bin/mvn.cmd | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/1bc69ff9/apache-maven/src/bin/mvn.cmd ---------------------------------------------------------------------- diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd index 467269a..0c2fd4b 100644 --- a/apache-maven/src/bin/mvn.cmd +++ b/apache-maven/src/bin/mvn.cmd @@ -46,9 +46,6 @@ if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" set ERROR_CODE=0 -@REM To isolate internal variables from possible post scripts, we use another setlocal -@setlocal - @REM ==== START VALIDATION ==== if not "%JAVA_HOME%" == "" goto OkJHome