From e7a2fbef69d306d4aafd9a2aa29cbe36224a7b07 Mon Sep 17 00:00:00 2001 From: ashitsalesforce Date: Wed, 10 Jan 2024 18:59:09 -0800 Subject: [PATCH] minor change to utility script Double quote to prevent globbing and word splitting. --- dlbuilder.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlbuilder.sh b/dlbuilder.sh index 10506946..dbb7a91a 100755 --- a/dlbuilder.sh +++ b/dlbuilder.sh @@ -11,12 +11,12 @@ run_mvn() { log4j_version_num=${log4j_version_num%}; echo "removing JndiLookup.class from ${log4j_version_num}" - zip -q -d ${HOME}/.m2/repository/org/apache/logging/log4j/log4j-core/${log4j_version_num}/log4j-core-${log4j_version_num}.jar org/apache/logging/log4j/core/lookup/JndiLookup.class - zip -q -d ${HOME}/.m2/repository/org/apache/logging/log4j/log4j-core/${log4j_version_num}/log4j-core-${log4j_version_num}.jar org/apache/logging/log4j/core/appender/mom/JmsAppender.class - zip -q -d ${HOME}/.m2/repository/org/apache/logging/log4j/log4j-core/${log4j_version_num}/log4j-core-${log4j_version_num}.jar org/apache/logging/log4j/core/appender/db/jdbc/JdbcAppender.class + zip -q -d "${HOME}/.m2/repository/org/apache/logging/log4j/log4j-core/${log4j_version_num}/log4j-core-${log4j_version_num}.jar org/apache/logging/log4j/core/lookup/JndiLookup.class" + zip -q -d "${HOME}/.m2/repository/org/apache/logging/log4j/log4j-core/${log4j_version_num}/log4j-core-${log4j_version_num}.jar org/apache/logging/log4j/core/appender/mom/JmsAppender.class" + zip -q -d "${HOME}/.m2/repository/org/apache/logging/log4j/log4j-core/${log4j_version_num}/log4j-core-${log4j_version_num}.jar org/apache/logging/log4j/core/appender/db/jdbc/JdbcAppender.class" # build uber jar - mvn clean package +# mvn clean package } #################