From 280db57cba87d3cbe5d615c096730383cdd8a98c Mon Sep 17 00:00:00 2001
From: Roland Haeder <roland@mxchange.org>
Date: Tue, 2 Aug 2016 21:40:19 +0200
Subject: [PATCH] updated dist.sh (don't upload jcore-swing on JavaEE-enabled
 server ...)

---
 dist.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}"
-- 
2.39.5