]> git.nbdom.net Git - nb.git/commitdiff
bin/nb-update
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 16 Apr 2018 00:19:38 +0000 (01:19 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 16 Apr 2018 00:19:38 +0000 (01:19 +0100)
bin/nb-update

index 736bf46a87970b3787706c4137a59c109b0e8be0..51034c3e3ad19edc73710ff78aef510c2c19a032 100755 (executable)
@@ -53,6 +53,7 @@ filter_name="$@"
 for repo in $(nb_repos); do
 
   [ -d "$repo/.git" ] || continue
+  [ ! -w "$repo/.git" ] && echo ">No Permission $repo" && echo && continue
   cd "$repo" || continue
 
   # name from git not from path