globally updated jar(s)
authorRoland Haeder <roland@mxchange.org>
Fri, 29 Apr 2016 19:59:40 +0000 (21:59 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 29 Apr 2016 19:59:40 +0000 (21:59 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
.jprojects.sh
commit-jprojects.sh

index f441eb9..87cba90 100644 (file)
@@ -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}"
index 93783cf..68fdbee 100755 (executable)
@@ -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."