]> git.mxchange.org Git - jcountry-core.git/commitdiff
updated dist.sh (don't upload jcore-swing on JavaEE-enabled server ...)
authorRoland Haeder <roland@mxchange.org>
Tue, 2 Aug 2016 19:39:48 +0000 (21:39 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 2 Aug 2016 19:39:48 +0000 (21:39 +0200)
dist.sh

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