asfgit closed pull request #128: [MNG-6256] Surround variables in echo command with double quotes URL: https://github.com/apache/maven/pull/128
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd index 7b0b271e7f..769d437a49 100644 --- a/apache-maven/src/bin/mvn.cmd +++ b/apache-maven/src/bin/mvn.cmd @@ -117,7 +117,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%\*" ( @@ -126,7 +126,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%" ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
