You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2021/07/22 19:08:12 UTC

[maven] branch MNG-6648 created (now e4b98c3)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MNG-6648
in repository https://gitbox.apache.org/repos/asf/maven.git.


      at e4b98c3  [MNG-6648] 'mavenrc_pre' script does not receive arguments like mavenrc in Bourne shell does

This branch includes the following new commits:

     new e4b98c3  [MNG-6648] 'mavenrc_pre' script does not receive arguments like mavenrc in Bourne shell does

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[maven] 01/01: [MNG-6648] 'mavenrc_pre' script does not receive arguments like mavenrc in Bourne shell does

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-6648
in repository https://gitbox.apache.org/repos/asf/maven.git

commit e4b98c3605959446814913fe2f7298b1055727bb
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Thu Jul 22 21:07:03 2021 +0200

    [MNG-6648] 'mavenrc_pre' script does not receive arguments like mavenrc in Bourne shell does
    
    This closes #511
---
 apache-maven/src/assembly/shared/validate.cmd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apache-maven/src/assembly/shared/validate.cmd b/apache-maven/src/assembly/shared/validate.cmd
index 7c98ab9..b53d607 100644
--- a/apache-maven/src/assembly/shared/validate.cmd
+++ b/apache-maven/src/assembly/shared/validate.cmd
@@ -37,8 +37,8 @@ title %0
 @REM Execute a user defined script before this one
 if not "%MAVEN_SKIP_RC%"=="" goto skipRcPre
 @REM check for pre script, once with legacy .bat ending and once with .cmd ending
-if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat"
-if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd"
+if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
+if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
 :skipRcPre
 
 @setlocal