Continued:
[jprojects-scripts.git] / merge-jprojects.sh
index 7257499..4fc5525 100755 (executable)
@@ -7,6 +7,16 @@ TARGET_BRANCH="rewrites/jpa"
 SWITCH_TO_SOURCE="Y"
 
 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}"