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