]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
Skipped missing projects
authorRoland Haeder <rhaeder@cho-time.de>
Mon, 2 May 2016 13:07:07 +0000 (15:07 +0200)
committerRoland Haeder <rhaeder@cho-time.de>
Mon, 2 May 2016 13:07:07 +0000 (15:07 +0200)
Signed-off-by: Roland Haeder <rhaeder@cho-time.de>
create-jproject-branch.sh

index 16ac72651eaadb128d6a2ec52d7f3f161b953b4b..bcd820c2dd075997e60def275921d1b306765ba0 100755 (executable)
@@ -12,6 +12,11 @@ COMMIT_ADD=""
 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}"