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=1e5d1e07266f49ed4a7f951886ac2e215b6d128a;p=jletter-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}"