From: Roland Häder Date: Mon, 9 May 2016 07:12:35 +0000 (+0200) Subject: updated dist.shc X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c904f6807d54c58924d2ba1f3c85b35aecf34a40;p=jaddressbook-share-core.git updated dist.shc Signed-off-by: Roland Häder --- diff --git a/dist.sh b/dist.sh index 8d5e1cc..58d917f 100755 --- a/dist.sh +++ b/dist.sh @@ -69,7 +69,7 @@ do done -if [ -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ] +if [ "$1" != "r" -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}"