]> git.wh0rd.org Git - home.git/commitdiff
gentoo: tweak arch_emails
authorMike Frysinger <vapier@gentoo.org>
Sat, 19 Aug 2017 18:54:42 +0000 (14:54 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 19 Aug 2017 18:54:42 +0000 (14:54 -0400)
.profile.d/gentoo.sh

index acf0fd398537a26b3e63b7cab0783d79198e9648..950260c749a7a455f8427a647ea201b38d061d87 100644 (file)
@@ -45,13 +45,17 @@ arch_emails() {
                        keys=$(sed -n '/^[[:space:]]*KEYWORD/{s:.*=::;s:"::g;p}' ${e})
                        for a in ${keys} ; do
                                [[ ${a} != ~* ]] && continue
-                               ret="${ret} ${a}"
+                               case ${a} in
+                               *-*) continue ;;
+                               ~arm64|~m68k|~mips|~s390|~sh) continue ;;
+                               ~*) ret="${ret} ${a}" ;;
+                               esac
                        done
                done
        else
                ret="$*"
        fi
-       printf '%s@gentoo.org ' ${ret//\~}
+       printf '%s@gentoo.org,' ${ret//\~}
        echo
 }
 stable_arch_emails() {