Skip to content

Commit

Permalink
[MNG-7190] Load mavenrc from /usr/local/etc also in Bourne shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Jul 19, 2021
1 parent 268f956 commit 25df095
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apache-maven/src/bin/mvn
Expand Up @@ -29,6 +29,10 @@

if [ -z "$MAVEN_SKIP_RC" ] ; then

if [ -f /usr/local/etc/mavenrc ] ; then
. /usr/local/etc/mavenrc
fi

if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
Expand Down

0 comments on commit 25df095

Please sign in to comment.