From 91991e3f923f2f99f4dff2fdd9f53556ba2c4290 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 29 Apr 2016 21:59:40 +0200 Subject: [PATCH] globally updated jar(s) Signed-off-by: Roland Haeder --- .jprojects.sh | 10 +++++----- commit-jprojects.sh | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.jprojects.sh b/.jprojects.sh index f441eb9..87cba90 100644 --- a/.jprojects.sh +++ b/.jprojects.sh @@ -22,13 +22,13 @@ LIST="${LIST} \ # Applications and their special libs/EJBs LIST="${LIST} - pizzaservice-core pizzaservice-lib pizzaservice-mailer pizzaservice-ejb pizzaservice pizzaservice-swing pizzaservice-war \ - jjobs-core jjobs-lib jjobs-mailer jjobs-ejb jjobs jjobs-war \ - jratecalc-core jratecalc-lib jratecalc-mailer jratecalc-ejb jratecalc jratecalc-war \ - addressbook-core addressbook-lib addressbook-mailer addressbook-ejb addressbook addressbook-war addressbook-uml" + pizzaservice-core pizzaservice-lib pizzaservice-mailer pizzaservice-ejb pizzaservice-swing \ + jjobs-core jjobs-lib jjobs-mailer jjobs-ejb jjobs-war jjobs \ + jratecalc-core jratecalc-lib jratecalc-mailer jratecalc-ejb jratecalc-war jratecalc \ + addressbook-core addressbook-lib addressbook-mailer addressbook-ejb addressbook-war addressbook addressbook-uml" # BROKEN: -LIST="${LIST} addressbook-swing" +LIST="${LIST} addressbook-swing pizzaservice-war pizzaservice" # Own home directory declare -r JPROJECTS_HOME="${PWD}" diff --git a/commit-jprojects.sh b/commit-jprojects.sh index 93783cf..68fdbee 100755 --- a/commit-jprojects.sh +++ b/commit-jprojects.sh @@ -3,8 +3,8 @@ . ./.jprojects.sh || exit 255 for project in ${LIST}; do - cd "${project}" || exit 255 - CHECK_CHANGES=`git commit --dry-run | grep "Changes to be committed:"` + cd "${JPROJECTS_HOME}/${project}" || exit 255 + CHECK_CHANGES=`git commit -a --dry-run | grep "Changes to be committed:"` if [ -n "${CHECK_CHANGES}" ] then @@ -18,7 +18,6 @@ for project in ${LIST}; do else echo "$0: Nothing to commit for project '${project}'." fi - cd - done echo "$0: All done." -- 2.39.5