Skipped missing projects
authorRoland Häder <roland@mxchange.org>
Mon, 2 May 2016 13:07:07 +0000 (15:07 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 2 May 2016 13:07:07 +0000 (15:07 +0200)
Signed-off-by: Roland Haeder <roland@haeder.net>
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}"