From: Roland Haeder Date: Thu, 7 Apr 2016 12:38:32 +0000 (+0200) Subject: updated dist.sh as jratecalc is not a public project X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e9580961a0b87df4c12bf8cbe3eeba70707c618e;p=jproduct-core.git updated dist.sh as jratecalc is not a public project --- diff --git a/dist.sh b/dist.sh index 101a0f4..3f4dfa2 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}"