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=37b5503b4e5866867c801138d1f55ed04cfb3cde;p=jaddressbook-share-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}"