[MNG-6198] Use the directory specified by -f for searching with 'mvn'

This commit is contained in:
Stephen Connolly 2017-03-27 21:07:01 +01:00
parent 96543b7c6e
commit 87cf1eeb7d
1 changed files with 1 additions and 1 deletions

View File

@ -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