You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/04/02 20:57:59 UTC
maven git commit: [MNG-6198] improved function name to match its
objective
Repository: maven
Updated Branches:
refs/heads/MNG-6198 [created] a9c4a099d
[MNG-6198] improved function name to match its objective
Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/a9c4a099
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/a9c4a099
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/a9c4a099
Branch: refs/heads/MNG-6198
Commit: a9c4a099d45ae993ada4332929ca1aac46ed3adc
Parents: 87cf1ee
Author: Herv� Boutemy <hb...@apache.org>
Authored: Sun Apr 2 22:57:27 2017 +0200
Committer: Herv� Boutemy <hb...@apache.org>
Committed: Sun Apr 2 22:57:27 2017 +0200
----------------------------------------------------------------------
apache-maven/src/bin/mvn | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven/blob/a9c4a099/apache-maven/src/bin/mvn
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn
index 623b5f2..e0efaf6 100755
--- a/apache-maven/src/bin/mvn
+++ b/apache-maven/src/bin/mvn
@@ -117,9 +117,9 @@ if $cygwin ; then
CLASSWORLDS_JAR=`cygpath --path --windows "$CLASSWORLDS_JAR"`
fi
-# traverses directory structure from process work directory to filesystem root
+# traverses directory structure from file argument or process work directory to filesystem root
# first directory with .mvn subdirectory is considered project base directory
-find_maven_basedir() {
+find_maven_projectbasedir() {
(
basedir=`find_file_argument_basedir "$@"`
wdir="${basedir}"
@@ -169,7 +169,7 @@ concat_lines() {
fi
}
-MAVEN_PROJECTBASEDIR="${MAVEN_BASEDIR:-`find_maven_basedir "$@"`}"
+MAVEN_PROJECTBASEDIR="${MAVEN_BASEDIR:-`find_maven_projectbasedir "$@"`}"
MAVEN_OPTS="`concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config"` $MAVEN_OPTS"
# For Cygwin, switch project base directory path to Windows format before