Fix bug with non-existent directory
authorHugo Villeneuve <hvilleneuve@addenergie.ca>
Tue, 17 Dec 2019 17:00:26 +0000 (12:00 -0500)
committerHugo Villeneuve <hvilleneuve@addenergie.ca>
Tue, 17 Dec 2019 17:00:26 +0000 (12:00 -0500)
scripts/git-project-update.sh

index f1862ee..b47dcbc 100755 (executable)
@@ -80,8 +80,8 @@ while IFS=$'\n' read r ; do
 
     # Make sure directory exists
     if [ ! -d "${r}" ]; then
-        echo "Missing repos ${r}"
-        exit 1
+        echo "Skipping missing repos ${r}"
+        continue
     fi
 
     # Update only git repos