mirror of https://github.com/apache/maven.git
[MNG-6256] Surround parameter of echo command with double quotes
Fixes #128, #228
This commit is contained in:
parent
d9facde3bc
commit
a939654b76
|
@ -115,7 +115,7 @@ if "%FILE_ARG%" == "" (
|
|||
goto findBaseDir
|
||||
)
|
||||
if not exist "%FILE_ARG%" (
|
||||
echo POM file %FILE_ARG% specified the -f/--file command-line argument does not exist >&2
|
||||
echo POM file "%FILE_ARG%" specified the -f/--file command-line argument does not exist >&2
|
||||
goto error
|
||||
)
|
||||
if exist "%FILE_ARG%\*" (
|
||||
|
@ -124,7 +124,7 @@ if exist "%FILE_ARG%\*" (
|
|||
call :get_directory_from_file "%FILE_ARG%"
|
||||
)
|
||||
if not exist "%POM_DIR%" (
|
||||
echo Directory %POM_DIR% extracted from the -f/--file command-line argument %FILE_ARG% does not exist >&2
|
||||
echo Directory "%POM_DIR%" extracted from the -f/--file command-line argument "%FILE_ARG%" does not exist >&2
|
||||
goto error
|
||||
)
|
||||
set "WDIR=%POM_DIR%"
|
||||
|
|
Loading…
Reference in New Issue