Skipped missing projects
[jprojects-scripts.git] / create-jproject-branch.sh
index 16ac726..bcd820c 100755 (executable)
@@ -12,6 +12,11 @@ COMMIT_ADD=""
 AFTER_COMMIT_BRANCH="master"
 
 for project in ${LIST}; do
 AFTER_COMMIT_BRANCH="master"
 
 for project in ${LIST}; do
+       if [ ! - d "${JPROJECTS_HOME}/${project}" ]
+       then
+               continue
+       fi
+
        echo "$0: Processing '${project}' ..."
        cd "${JPROJECTS_HOME}/${project}"
 
        echo "$0: Processing '${project}' ..."
        cd "${JPROJECTS_HOME}/${project}"