From: Roland Häder Date: Thu, 6 Feb 2020 12:56:09 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=540e234d0998cf4c6815023806bcdf4aca45b8fe;p=jprojects-scripts.git Continued: - always cleanly skip missing projects Signed-off-by: Roland Häder --- diff --git a/git-author-jprojects.sh b/git-author-jprojects.sh index bc5703a..33aa075 100755 --- a/git-author-jprojects.sh +++ b/git-author-jprojects.sh @@ -7,6 +7,10 @@ for project in ${LIST}; do then echo "$0: Skipping jprojects-scripts ..." continue + elif [ ! -d "${JPROJECTS_HOME}/${project}" ] + then + echo "$0: Project '${project}' does not exist." + continue fi echo "$0: Handling '${project}' ..."