]> git.wh0rd.org - home.git/commitdiff
eskeys: stabilize arm64 too
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Oct 2014 04:03:55 +0000 (00:03 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Oct 2014 04:03:55 +0000 (00:03 -0400)
.profile.d/gentoo.sh

index 1f1de40d6f7130605cfe245b63432e7e8c8393c9..bfacf8479663926d71ffdf643f87fb379ea12821 100644 (file)
@@ -210,11 +210,9 @@ eskeys() {
                # running in a category rather than package
                cat="/"
        fi
-       [[ -z $* ]] && set -- m68k s390 sh
+       [[ -z $* ]] && set -- arm64 m68k s390 sh
        for k in "$@" ; do
-               local list="$(grep "^[[:space:]]*KEYWORDS=.*~${k}\>.*[^~]x86" *${cat}*d -l)"
-               [[ -z ${list} ]] && continue
-               ekeyword ${k} ${list}
+               ekeyword "${k}=x86" $(grep -l "KEYWORDS.*${k}" *${cat}*.ebuild)
        done
 }
 _erit() {