From: Roland Häder <roland@mxchange.org>
Date: Wed, 16 Aug 2017 19:02:33 +0000 (+0200)
Subject: updated dist.sh
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f972246c935ba7a9782aa49265b76d8679dc9a7;p=jcustomer-core.git

updated dist.sh

Signed-off-by: Roland Häder <roland@mxchange.org>
---

diff --git a/dist.sh b/dist.sh
index b5df710..fdd1e5d 100755
--- 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