You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2019/06/10 18:27:10 UTC

[maven] 01/01: Use properly quoted shell arguments with "$@"

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

michaelo pushed a commit to branch safe-args
in repository https://gitbox.apache.org/repos/asf/maven.git

commit da05c25584d4070df9b075bf571737893454aee3
Author: Mao Shuai <zh...@gmail.com>
AuthorDate: Sun Mar 24 16:39:19 2019 +0800

    Use properly quoted shell arguments with "$@"
    
    This closes #238
---
 deploySite.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deploySite.sh b/deploySite.sh
index f6c265d..d7a5c5f 100644
--- a/deploySite.sh
+++ b/deploySite.sh
@@ -19,5 +19,5 @@
 # under the License.
 #
 
-mvn -Preporting site site:stage $@
-mvn scm-publish:publish-scm $@
+mvn -Preporting site site:stage "$@"
+mvn scm-publish:publish-scm "$@"