[MNG-6256] Surround parameter of echo command with double quotes

Fixes #128, #228
This commit is contained in:
Christoph Etzel 2017-07-14 10:26:06 +02:00 committed by Sylwester Lachiewicz
parent d9facde3bc
commit a939654b76
1 changed files with 2 additions and 2 deletions

View File

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