]> git.mxchange.org Git - jcore.git/commitdiff
updated dist.sh
authorRoland Häder <roland@mxchange.org>
Wed, 20 Apr 2016 09:07:57 +0000 (11:07 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 20 Apr 2016 09:07:57 +0000 (11:07 +0200)
dist.sh

diff --git a/dist.sh b/dist.sh
index 8d5e1ccb04fa6a5f0ff80cce42a6cbc8d952641b..7c4e1487d5aa2a47018e3ad6f4af66d2c193a6f2 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -29,6 +29,7 @@ PERSONAL_DOMAIN_PATH="${HOME}/personal_domain/lib"
 
 # Generate list
 LIST=`find ../*/lib/${NAME}.jar`
+LIST="${LIST} `find ../*/*-ejb/lib/${NAME}.jar`"
 LIST="${LIST} ${WILDFLY_MODULE_PATH}"
 
 if [ -d "${GLASSFISH_BASE_PATH}" ]
@@ -69,7 +70,7 @@ do
 
 done
 
-if [ -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ]
+if [ "$1" != "r" -a -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ]
 then
        echo "$0: Copying to remote '${GLASSFISH_SSH_SERVER}' ..."
        scp "${DIST}" "${GLASSFISH_SSH_SERVER}:${GLASSFISH_SSH_PATH}"