summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-29 20:29:07 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-29 20:29:07 +0000
commitd5b805aa8b73cc25d91cdf44a86fb9560d3bbe5a (patch)
tree2840fbf94c41b5f63e01a96911228eb57b547f78 /bin
parent4ff443936a01e170a363138dc1d6bc21501a468d (diff)
downloadportage-d5b805aa8b73cc25d91cdf44a86fb9560d3bbe5a.tar.gz
portage-d5b805aa8b73cc25d91cdf44a86fb9560d3bbe5a.tar.bz2
portage-d5b805aa8b73cc25d91cdf44a86fb9560d3bbe5a.zip
Fix broken --onlydeps recursion logic.
svn path=/main/branches/2.1.2/; revision=9604
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge4
1 files changed, 3 insertions, 1 deletions
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 <pkgspec>; 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: