mirror of https://github.com/apache/maven.git
[MNG-7621] Parameter '-f' causes ignoring any 'maven.config' (only on Windows)
This closes #905
This commit is contained in:
parent
4e38415b67
commit
828de7e1a8
|
@ -64,8 +64,9 @@ exit /b
|
|||
|
||||
:findBaseDir
|
||||
cd /d "%WDIR%"
|
||||
set "WDIR=%CD%"
|
||||
:findBaseDirLoop
|
||||
if exist "%WDIR%\.mvn" goto baseDirFound
|
||||
if exist ".mvn" goto baseDirFound
|
||||
cd ..
|
||||
IF "%WDIR%"=="%CD%" goto baseDirNotFound
|
||||
set "WDIR=%CD%"
|
||||
|
|
Loading…
Reference in New Issue