From: Silvio Rhatto Date: Sat, 16 Sep 2017 21:28:48 +0000 (-0300) Subject: Updates mrconfig-updater X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7d889c0767d44d070628ad708ed640f1f8d9a7ce;p=utils-git.git Updates mrconfig-updater --- diff --git a/mrconfig-updater b/mrconfig-updater index 609c2a8..0781709 100755 --- a/mrconfig-updater +++ b/mrconfig-updater @@ -24,6 +24,10 @@ rm -f $MRCONFIG # Iterate for folder in $FOLDERS; do + if [ ! -d "$folder" ]; then + continue + fi + find $folder -maxdepth $DEPTH -name '.git' | while read repo; do echo "[`dirname $repo`]" >> $MRCONFIG done