From f722cd1398de873da0c80560c2248b6205a5aed8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Dec 2007 18:21:50 +0000 Subject: [PATCH] Add PKGDIR to the config.environ() whitelist so that people's bashrc's don't break. (trunk r9114) svn path=/main/branches/2.1.2/; revision=9115 --- pym/portage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 569bc2ee4..4df9b64b2 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1009,6 +1009,7 @@ class config: "EBUILD_EXIT_STATUS_FILE", "EBUILD_FORCE_TEST", "EBUILD_PHASE", "ECLASSDIR", "ECLASS_DEPTH", "EMERGE_FROM", "FEATURES", "FILESDIR", "HOME", "PATH", + "PKGDIR", "PKGUSE", "PKG_LOGDIR", "PKG_TMPDIR", "PORTAGE_ACTUAL_DISTDIR", "PORTAGE_ARCHLIST", "PORTAGE_BASHRC", @@ -2630,8 +2631,6 @@ class config: phase = self.get("EBUILD_PHASE") if phase: whitelist = [] - if "package" == phase: - whitelist.append("PKGDIR") if "rpm" == phase: whitelist.append("RPMDIR") for k in whitelist: -- 2.26.2