diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-06 22:56:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-06 22:56:18 +0000 |
commit | e0072bc7f40e85ef3c3708877eb09a60a5555702 (patch) | |
tree | 684c9122f9224c2349881c939fda9e1960f03efd | |
parent | 528c667ae2ae0f48289e02202099a54f52bdcdfa (diff) | |
download | portage-e0072bc7f40e85ef3c3708877eb09a60a5555702.tar.gz portage-e0072bc7f40e85ef3c3708877eb09a60a5555702.tar.bz2 portage-e0072bc7f40e85ef3c3708877eb09a60a5555702.zip |
Fix depclean so the fake vartree is used in dep_check calls.
svn path=/main/trunk/; revision=5193
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index fd0edafd0..cc7922df8 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3894,7 +3894,9 @@ def action_depclean(settings, trees, ldpath_mtimes, xterm_titles = "notitles" not in settings.features portdb = trees[settings["ROOT"]]["porttree"].dbapi - vartree = FakeVartree(trees[settings["ROOT"]]["vartree"]) + real_vartree = trees[settings["ROOT"]]["vartree"] + vartree = FakeVartree(real_vartree) + trees[settings["ROOT"]]["vartree"] = vartree vardb = vartree.dbapi syslist = getlist(settings, "system") worldlist = getlist(settings, "world") @@ -3974,6 +3976,7 @@ def action_depclean(settings, trees, ldpath_mtimes, # Restore the portdb back to normal (see fake_vardb above). trees[settings["ROOT"]]["porttree"].dbapi = portdb + trees[settings["ROOT"]]["vartree"] = real_vartree if "--quiet" not in myopts: print "\b\b... done!\n" |