From: Zac Medico Date: Sat, 29 Mar 2008 20:29:07 +0000 (-0000) Subject: Fix broken --onlydeps recursion logic. X-Git-Tag: v2.1.5~297 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5b805aa8b73cc25d91cdf44a86fb9560d3bbe5a;p=portage.git Fix broken --onlydeps recursion logic. svn path=/main/branches/2.1.2/; revision=9604 --- diff --git a/bin/emerge b/bin/emerge index cfa84580d..47a79acb2 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1812,7 +1812,9 @@ class depgraph: emerge --deep ; we need to recursively check dependencies of pkgspec If we are in --nodeps (no recursion) mode, we obviously only check 1 level of dependencies. """ - if "deep" not in self.myparams and not merging and \ + if arg and pkg.onlydeps: + pass + elif "deep" not in self.myparams and not merging and \ not ("--update" in self.myopts and arg and merging): return 1 elif "recurse" not in self.myparams: