]> git.mxchange.org Git - pizzaservice-core.git/commitdiff
updated dist.sh
authorRoland Häder <roland@mxchange.org>
Wed, 16 Aug 2017 19:02:36 +0000 (21:02 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 16 Aug 2017 19:02:36 +0000 (21:02 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
dist.sh

diff --git a/dist.sh b/dist.sh
index b5df710c6ab28589c9e7c74e364950f88dca0ad2..fdd1e5d2f933f1c8742dcd4d8d771b38730ab9ab 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -91,6 +91,7 @@ if [ "$1" = "r" -o "${NAME}" = "jcore" -o "${NAME}" = "jcore-swing" ]
 then
        echo "$0: Not uploading '${NAME}' or parameter 'r' provided."
 elif [ -n "${GLASSFISH_SSH_USER}" -a -n "${GLASSFISH_SSH_SERVER}" -a -n "${GLASSFISH_SSH_PATH}" ]
+then
        echo "$0: Copying to remote '${GLASSFISH_SSH_SERVER}' ..."
        scp "${DIST}" "${GLASSFISH_SSH_USER}@${GLASSFISH_SSH_SERVER}:${GLASSFISH_SSH_PATH}" || exit 255
 else