Continued:
[jprojects-scripts.git] / create-jproject-branch.sh
index 16ac726..3d14093 100755 (executable)
@@ -12,6 +12,16 @@ COMMIT_ADD=""
 AFTER_COMMIT_BRANCH="master"
 
 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
+
        echo "$0: Processing '${project}' ..."
        cd "${JPROJECTS_HOME}/${project}"