From: Roland Haeder Date: Tue, 2 Aug 2016 19:43:30 +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=6e8871812da154fc6b242627636bfb2c7ee18e58;p=juser-activity-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}"