]> git.wh0rd.org - home.git/commitdiff
r: handle OWNERS paths
authorMike Frysinger <vapier@gentoo.org>
Fri, 27 Sep 2019 17:51:01 +0000 (13:51 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 27 Sep 2019 17:51:01 +0000 (13:51 -0400)
.bin/r

diff --git a/.bin/r b/.bin/r
index 641ed64216f64361682698934e69d155acb561f4..a969597655a52ff8dec24afdd286d64a705cbfab 100755 (executable)
--- a/.bin/r
+++ b/.bin/r
@@ -69,7 +69,7 @@ process_reviewers() {
        local r arr=()
        for r in ${*//,/ } ; do
                case ${r} in
-               *OWNERS)
+               OWNERS*|*/OWNERS*)
                        local owners=$(
                                awk -F'@' '
                                        ($2 == "chromium.org" || $2 == "google.com") {list = list "," $1}