This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch MNG-6256
in repository https://gitbox.apache.org/repos/asf/maven.git

commit a939654b765f06b1c1ee811a297b02e83b4ac316
Author: Christoph Etzel <christoph.et...@informatik.uni-augsburg.de>
AuthorDate: Fri Jul 14 10:26:06 2017 +0200

    [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 823ccf0..fd1b21e 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%"

Reply via email to