X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.profile.d%2Fgentoo.sh;fp=.profile.d%2Fgentoo.sh;h=950260c749a7a455f8427a647ea201b38d061d87;hb=39efb5ff3bf4d9e34ffc4fcb74d4d6191a17149a;hp=acf0fd398537a26b3e63b7cab0783d79198e9648;hpb=6b27d51d56f81c9afdd57734ec1b156ba088332c;p=home.git diff --git a/.profile.d/gentoo.sh b/.profile.d/gentoo.sh index acf0fd3..950260c 100644 --- a/.profile.d/gentoo.sh +++ b/.profile.d/gentoo.sh @@ -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() {