mirror of https://github.com/apache/maven.git
[MNG-6198] Use the directory specified by -f for searching with 'mvn'
This commit is contained in:
parent
96543b7c6e
commit
87cf1eeb7d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue