]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
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 f441eb931e972731af4d29da8f816d383d7b31fa..87cba90b88dd21a405251c9cdf683665f2c164de 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 93783cf8cab302c261c68e5b35416b1515bb38c1..68fdbee58b69c530ffeed532a85ecabbf9a64431 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."