From: Roland Haeder <roland@mxchange.org>
Date: Wed, 1 Jun 2016 19:05:46 +0000 (+0200)
Subject: updated .gitignore (no more includes ejb project, please keep it separated)
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f78ee93e8ead1cf0a992d25487208c5dbb3faf79;p=jletter-lib.git

updated .gitignore (no more includes ejb project, please keep it separated)
---

diff --git a/.gitignore b/.gitignore
index 51ac39e..c5bf316 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,7 +5,5 @@
 /dist/
 /data/*
 /*.properties
-/*-ejb/nbproject/private/
-/*-ejb/nbproject/*~
-/*-ejb/build/
-/*-ejb/dist/
+.~lock*
+.gitcommits
diff --git a/dist.sh b/dist.sh
index 8d5e1cc..58d917f 100755
--- 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}"