Jepp, no more these projects
[jprojects-scripts.git] / commit-jprojects.sh
index 68fdbee..802ea6a 100755 (executable)
@@ -3,6 +3,16 @@
 . ./.jprojects.sh || exit 255
 
 for project in ${LIST}; do
+       if [ "${project}" = "jprojects-scripts" ]
+       then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
+               continue
+       fi
+
        cd "${JPROJECTS_HOME}/${project}" || exit 255
        CHECK_CHANGES=`git commit -a --dry-run | grep "Changes to be committed:"`