From: Alex Dehnert Date: Fri, 18 Dec 2009 17:01:09 +0000 (-0500) Subject: list-of-lists-updater: don't try to add the l-o-l X-Git-Url: https://www.dehnerts.com/gitweb/?p=user%2Falex%2Fsoftware%2Fmy-snippets.git;a=commitdiff_plain;h=77fafae7fad9010f5db1bf1cd05225835e555fdc list-of-lists-updater: don't try to add the l-o-l --- diff --git a/list-of-lists-updater b/list-of-lists-updater index 5b5a016..4018ac0 100755 --- a/list-of-lists-updater +++ b/list-of-lists-updater @@ -32,7 +32,7 @@ function add_lists blanche $prev -a $macl fi # Add stuff this owns - owned=$(athrun ops qy -s get_ace_use list $list | grep LIST | cut -d " " -f 2) + owned=$(athrun ops qy -s get_ace_use list $list | grep -v ^$prev\$ | grep LIST | cut -d " " -f 2) for newlist in $owned; do blanche $prev -a $newlist; done;