]> git.mxchange.org Git - jshop-receipt-core.git/commitdiff
updated dist.sh as jratecalc is not a public project
authorRoland Haeder <roland@mxchange.org>
Thu, 7 Apr 2016 12:38:38 +0000 (14:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 7 Apr 2016 12:38:38 +0000 (14:38 +0200)
dist.sh

diff --git a/dist.sh b/dist.sh
index 101a0f4222f1be73238bfcd5186daa9ed57994f2..3f4dfa235eabb9c6bb3f437dd9fa6ee674725cfc 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -62,7 +62,10 @@ do
 
 done
 
-if [ -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ]
+# Testing on project name
+SKIP_TEST="${NAME:0:9}"
+
+if [ -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" -a "${SKIP_TEST}" != "jratecalc" ]
 then
        echo "$0: Copying to remote '${GLASSFISH_SSH_SERVER}' ..."
        scp "${DIST}" "${GLASSFISH_SSH_SERVER}:${GLASSFISH_SSH_PATH}"