From 646c7b10c3ae51145ac26e2ec6f173e3f37ba969 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 7 Apr 2016 14:37:36 +0200 Subject: [PATCH] updated dist.sh as jratecalc is not a public project --- dist.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dist.sh b/dist.sh index 101a0f42..3f4dfa23 100755 --- 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}" -- 2.39.5