mirror of https://github.com/apache/maven.git
[MNG-7208] Introduce a system-wide mavenrc.cmd in Windows command script
This closes #523
This commit is contained in:
parent
48a9e04c5e
commit
0682a1cc0a
|
@ -36,6 +36,7 @@ title %0
|
|||
|
||||
@REM Execute a user defined script before this one
|
||||
if not "%MAVEN_SKIP_RC%"=="" goto skipRc
|
||||
if exist "%PROGRAMDATA%\mavenrc.cmd" call "%PROGRAMDATA%\mavenrc.cmd" %*
|
||||
@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" %*
|
||||
|
|
Loading…
Reference in New Issue