]> git.mxchange.org Git - jjobs-mailer-lib.git/commitdiff
don't copy jcore(-swing) (EE/Swing) to JavaEE container
authorRoland Häder <roland@mxchange.org>
Thu, 27 Apr 2017 12:33:56 +0000 (14:33 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 27 Apr 2017 12:37:06 +0000 (14:37 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
dist.sh

diff --git a/dist.sh b/dist.sh
index 5ea9f343efdd50bc5239730932bbae1d5cafbdf8..0038723640d825d72d04d6a40506ee68cba14dd0 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -69,7 +69,7 @@ do
 
 done
 
-if [ "$1" != "r" -a -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ]
+if [ "$1" != "r" -a -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" -a "${NAME}" != "jcore" -a "${NAME}" != "jcore-swing" ]
 then
        echo "$0: Copying to remote '${GLASSFISH_SSH_SERVER}' ..."
        scp "${DIST}" "${GLASSFISH_SSH_SERVER}:${GLASSFISH_SSH_PATH}"