From 540e234d0998cf4c6815023806bcdf4aca45b8fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 6 Feb 2020 13:56:09 +0100 Subject: [PATCH] Continued: - always cleanly skip missing projects MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- git-author-jprojects.sh | 4 ++++ 1 file changed, 4 insertions(+) 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}' ..." -- 2.39.5