From: Roland Häder Date: Thu, 27 Apr 2017 12:33:40 +0000 (+0200) Subject: don't copy jcore(-swing) (EE/Swing) to JavaEE container X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e09f004f53dfa8b5c6313cee56f88f3c73a84d98;p=jaddressbook-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}"