You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2017/06/04 18:07:13 UTC

[27/50] maven git commit: [MNG-6198] Use the directory specified by -f for searching with 'mvn'

[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/87cf1eeb
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/87cf1eeb
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/87cf1eeb

Branch: refs/heads/mvn-3.5.1/MNG-6174
Commit: 87cf1eeb7d2506e192da77f7d5b286fae2b20314
Parents: 96543b7
Author: Stephen Connolly <st...@gmail.com>
Authored: Mon Mar 27 21:07:01 2017 +0100
Committer: Stephen Connolly <st...@gmail.com>
Committed: Sat Apr 1 11:29:09 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/87cf1eeb/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