From dcb3f1861ead93598bb7e1a030d30410b2f8b71f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 22 Apr 2017 23:10:44 +0200 Subject: [PATCH] Continued a bit: - jletter-ejb is not a good idea, better to have the EJB(s) in application's EJB project - backticks is shell scripts are discouraged (?), better use $(foo --bar) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .jprojects.sh | 2 +- dist.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.jprojects.sh b/.jprojects.sh index 989b339..ea6acd7 100644 --- a/.jprojects.sh +++ b/.jprojects.sh @@ -11,7 +11,7 @@ LIBRARIES="jcore jcoreee \ jcontacts-core jcontacts-business-core jcontacts-lib \ juser-core juser-lib \ juser-activity-core juser-activity-lib \ - jletter-core jletter-lib jletter-ejb \ + jletter-core jletter-lib \ jaddressbook-core jaddressbook-lib \ jmailer-ee \ jcore-swing \ 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 -- 2.39.5