From: Roland Haeder Date: Tue, 2 Aug 2016 19:39:39 +0000 (+0200) Subject: updated dist.sh (don't upload jcore-swing on JavaEE-enabled server ...) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0ec5bd99007e8c1ecff07ad3119216c51754a3ce;p=jcore-utils.git updated dist.sh (don't upload jcore-swing on JavaEE-enabled server ...) --- diff --git a/dist.sh b/dist.sh index 58d917f..d08e911 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 "${NAME}" != "jcore-swing" -a -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ] then echo "$0: Copying to remote '${GLASSFISH_SSH_SERVER}' ..." scp "${DIST}" "${GLASSFISH_SSH_SERVER}:${GLASSFISH_SSH_PATH}"