summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-13 22:13:03 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-13 22:13:03 -0700
commit55dd7bc8587f4ef48a4ff6ddd4e176fbb72d118d (patch)
tree7f7f712420064717e8755e9e4bb001e6e1363be3
parent5a0344bffc31a171afe43092a088084c329320fb (diff)
downloadportage-55dd7bc8587f4ef48a4ff6ddd4e176fbb72d118d.tar.gz
portage-55dd7bc8587f4ef48a4ff6ddd4e176fbb72d118d.tar.bz2
portage-55dd7bc8587f4ef48a4ff6ddd4e176fbb72d118d.zip
quickpkg: optimize */* matches
-rwxr-xr-xbin/quickpkg5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index 69472248f..ced246888 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -198,6 +198,11 @@ def quickpkg_extended_atom(options, infos, atom, eout):
atoms = []
for cpv in vardb.cpv_all():
cpv_atom = Atom("=%s" % cpv)
+
+ if atom == "*/*":
+ atoms.append(cpv_atom)
+ continue
+
if not extended_cp_match(atom.cp, cpv_atom.cp):
continue