summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 4d0d8b285..f82448a4a 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1004,7 +1004,9 @@ class depgraph:
if not self.mysd:
return (0,myfavorites)
elif not "--oneshot" in self.myopts:
- myfavorites.append(portage.dep_getkey(mykey))
+ mykey = portage.dep_getkey(myatom)
+ if mykey not in myfavorites:
+ myfavorites.append(mykey)
missing=0
if "--usepkgonly" in self.myopts: