You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2017/03/27 20:07:06 UTC
maven git commit: [MNG-6198] Use the directory specified by -f for
searching with 'mvn'
Repository: maven
Updated Branches:
refs/heads/mng-6195 2d6db7983 -> e782534b0
[MNG-6198] Use the directory specified by -f for searching with 'mvn'
Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/e782534b
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/e782534b
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/e782534b
Branch: refs/heads/mng-6195
Commit: e782534b08b0d7cb1b46fe76b6a24e9fbb96f710
Parents: 2d6db79
Author: Stephen Connolly <st...@gmail.com>
Authored: Mon Mar 27 21:07:01 2017 +0100
Committer: Stephen Connolly <st...@gmail.com>
Committed: Mon Mar 27 21:07:01 2017 +0100
----------------------------------------------------------------------
apache-maven/src/bin/mvn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven/blob/e782534b/apache-maven/src/bin/mvn
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn
index e569633..623b5f2 100755
--- a/apache-maven/src/bin/mvn
+++ b/apache-maven/src/bin/mvn
@@ -122,7 +122,7 @@ fi
find_maven_basedir() {
(
basedir=`find_file_argument_basedir "$@"`
- wdir=`pwd`
+ wdir="${basedir}"
while [ "$wdir" != '/' ] ; do
if [ -d "$wdir"/.mvn ] ; then
basedir=$wdir