From: Roland Häder Date: Thu, 27 Apr 2017 12:33:55 +0000 (+0200) Subject: don't copy jcore(-swing) (EE/Swing) to JavaEE container X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8fab0c206f86b60e7ecdd864055a6f4f4a05c74d;p=jjobs-core.git don't copy jcore(-swing) (EE/Swing) to JavaEE container Signed-off-by: Roland Häder --- diff --git a/dist.sh b/dist.sh index 5ea9f34..0038723 100755 --- 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}"