From a939654b765f06b1c1ee811a297b02e83b4ac316 Mon Sep 17 00:00:00 2001 From: Christoph Etzel Date: Fri, 14 Jul 2017 10:26:06 +0200 Subject: [PATCH] [MNG-6256] Surround parameter of echo command with double quotes Fixes #128, #228 --- apache-maven/src/bin/mvn.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd index 823ccf0c90..fd1b21e3f9 100644 --- a/apache-maven/src/bin/mvn.cmd +++ b/apache-maven/src/bin/mvn.cmd @@ -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%"