From: Roland Haeder Date: Mon, 2 May 2016 13:07:07 +0000 (+0200) Subject: Skipped missing projects X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cee93cffd03c8c72e06dd4973ce1d7d232755f45;p=jprojects-scripts.git Skipped missing projects Signed-off-by: Roland Haeder --- diff --git a/create-jproject-branch.sh b/create-jproject-branch.sh index 16ac726..bcd820c 100755 --- a/create-jproject-branch.sh +++ b/create-jproject-branch.sh @@ -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}"