summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 7b926edaa..5341fbcbf 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1083,7 +1083,7 @@ class depgraph:
elif not "--oneshot" in myopts:
myfavorites.append(mykey)
else:
- if not portage.isvalidatom(x):
+ if not portage.isvalidatom(x) and not portage.isvalidatom("cat/"+x):
print ("\n\n!!! '%s' is not a valid package atom." % x)
print "!!! Please check ebuild(5) for full details."
print "!!! (Did you specify a version but forget to prefix with '='?)"