]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
The last commit from my workplace removed push-stick.sh, which was not intended.
authorRoland Haeder <roland@mxchange.org>
Wed, 20 Apr 2016 19:58:05 +0000 (21:58 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 20 Apr 2016 19:58:05 +0000 (21:58 +0200)
So let's better apply the same fix again ...

Signed-off-by: Roland Haeder <roland@mxchange.org>
.jprojects.sh
build-dist-all.sh
dist.sh

index e43ebcbf4fb62b6909b383c6d3d3b2a7693a3973..3b83d3db25743602a802f7ae62c73cb976d1c505 100644 (file)
@@ -7,6 +7,7 @@ LIST="jcore jcoreee \
        jphone-core jphone-lib \
        jcontacts-core jcontacts-business-core jcontacts-lib \
        juser-core juser-lib \
+       jaddressbook-core \
        jletter-core jletter-lib jletter-ejb \
        jaddressbook-core \
        jmailer-ee \
index 5ac2a3e6fe165fbb4772a9abbcea01979f5d57bc..aeb747e0229f676d250dad92a20bf9f1a6c645f4 100755 (executable)
@@ -53,7 +53,12 @@ for project in ${LIST}; do
                echo "$0: Error: Project '${project}' has non-executable dist.sh!"
                exit 1
        else
-               ./dist.sh
+               if [ "$1" = "r" ]
+               then
+                       ./dist.sh r
+               else
+                       ./dist.sh
+               fi
        fi
 done
 
diff --git a/dist.sh b/dist.sh
index 8d5e1ccb04fa6a5f0ff80cce42a6cbc8d952641b..58d917f92024ee2326b909ed17a6c2232f4bc602 100755 (executable)
--- 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}"