]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
Continued:
authorRoland Häder <haeder@ambroox.de>
Thu, 6 Feb 2020 12:56:09 +0000 (13:56 +0100)
committerRoland Häder <haeder@ambroox.de>
Thu, 6 Feb 2020 12:56:09 +0000 (13:56 +0100)
- always cleanly skip missing projects

Signed-off-by: Roland Häder <haeder@ambroox.de>
git-author-jprojects.sh

index bc5703a5aa90e86303282099036c06d8118c2933..33aa0751f0155bc2353d3a696326bfbffba9fd9f 100755 (executable)
@@ -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}' ..."