]> git.mxchange.org Git - jaddressbook-share-lib.git/commitdiff
updated dist.sh
authorRoland Häder <roland@mxchange.org>
Mon, 9 May 2016 07:13:12 +0000 (09:13 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 9 May 2016 07:13:12 +0000 (09:13 +0200)
Signed-off-by: Roland Häder <roland@haeder.net>
dist.sh

diff --git a/dist.sh b/dist.sh
index 8d5e1ccb04fa6a5f0ff80cce42a6cbc8d952641b..58d917f92024ee2326b909ed17a6c2232f4bc602 100755 (executable)
--- 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}"