From 546f70bba80a0f4db6a775f2750f57874da493ba Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 11 Jul 2008 05:12:00 +0000 Subject: [PATCH] Call settings.reset() in EbuildMetadataPhase.start() since that's what portdbapi does too before generating metadata, and without it, a previous CATEGORY can leak into the ebuild env and corrupt it (breaks lots of packages that reference $CATEGORY). svn path=/main/trunk/; revision=11015 --- pym/_emerge/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index dce4ef8d8..bde6d5cbe 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2312,6 +2312,7 @@ class EbuildMetadataPhase(SubProcess): def start(self): settings = self.settings + settings.reset() ebuild_path = self.ebuild_path debug = settings.get("PORTAGE_DEBUG") == "1" master_fd = None -- 2.26.2