From: Nicolas Boisselier Date: Fri, 9 Sep 2016 15:09:32 +0000 (+0200) Subject: fix bug nb-repo-dirs X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=878b5b15100ca82a3bf02c8fa8f3c6df15b87264;p=nb.git fix bug nb-repo-dirs --- diff --git a/bin/nb-repo-dirs b/bin/nb-repo-dirs index 04407b61..672569e9 100755 --- a/bin/nb-repo-dirs +++ b/bin/nb-repo-dirs @@ -47,15 +47,15 @@ print if (!-d "$dir/.git") { warn "DEBUG: REJECT : $dir\n" if $DEBUG; ""; - continue; - } + } else { - if ($DEBUG) { - for (@FILES_CHECK) { - warn "DEBUG: MISSING: $dir/$_\n" if !-r "$dir/$_"; + if ($DEBUG) { + for (@FILES_CHECK) { + warn "DEBUG: MISSING: $dir/$_\n" if !-r "$dir/$_"; + } } + add_args($dir); } - add_args($dir); } glob join(' ',@DIRS)