You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2019/01/05 00:00:41 UTC

[maven] 01/01: [MNG-6346] Add " around echo in mvn.cmd

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

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

commit d2cb7e61d8106409a6d3e4af91d313c06fa97ef3
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sat Jan 5 01:00:17 2019 +0100

    [MNG-6346] Add " around echo in mvn.cmd
---
 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..8eab5e3 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%"