From: Roland Haeder Date: Tue, 2 Aug 2016 19:43:19 +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=bd45e56cad44213aa15f9b2cb954e4577bc7aec7;p=jproduct-core.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}"