Repository: maven Updated Branches: refs/heads/MNG-6169 430f70c03 -> f983adf68
[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/f983adf6 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/f983adf6 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/f983adf6 Branch: refs/heads/MNG-6169 Commit: f983adf68f605d34002765d37f4f2bf1056e2f6b Parents: a14237d Author: Stephen Connolly <stephen.alan.conno...@gmail.com> Authored: Mon Mar 27 21:07:01 2017 +0100 Committer: Michael Osipov <micha...@apache.org> Committed: Sun Apr 2 00:21:12 2017 +0200 ---------------------------------------------------------------------- apache-maven/src/bin/mvn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/f983adf6/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