From: Roland Häder <roland@mxchange.org>
Date: Thu, 20 Apr 2017 01:27:34 +0000 (+0200)
Subject: lets don't use back-ticks
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=008927fdd3c2c34d517e027e83196c739e8d65f8;p=jjobs-mailer-lib.git

lets don't use back-ticks

Signed-off-by: Roland Häder <roland@mxchange.org>
---

diff --git a/dist.sh b/dist.sh
index 58d917f..5ea9f34 100755
--- a/dist.sh
+++ b/dist.sh
@@ -28,7 +28,7 @@ GLASSFISH_SSH_SERVER="www.mxchange.org"
 PERSONAL_DOMAIN_PATH="${HOME}/personal_domain/lib"
 
 # Generate list
-LIST=`find ../*/lib/${NAME}.jar`
+LIST=$(find ../*/lib/${NAME}.jar)
 LIST="${LIST} ${WILDFLY_MODULE_PATH}"
 
 if [ -d "${GLASSFISH_BASE_PATH}" ]
@@ -79,7 +79,7 @@ fi
 if [ -f "${WILDFLY_MODULE_XML_FILE}" ]
 then
 	echo "$0: Generating module.xml ..."
-	XML_CONTENT=`cat "${WILDFLY_MODULE_XML_FILE}"`
+	XML_CONTENT=$(cat "${WILDFLY_MODULE_XML_FILE}")
 	XML_CONTENT="${XML_CONTENT//NAME/$NAME}"
 	echo "${XML_CONTENT}" > "${WILDFLY_MODULE_PATH}/module.xml"
 fi