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