From 1729717d453726399ac0f9f7db4d6a9f86dc46bf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 5 May 2008 05:56:52 +0000 Subject: Bug #219286 - Whitelist INSTALL_MASK so that it works properly for binary packages. Also, filter INSTALL_MASK when saving or loading environment.bz2. This also applies to PKG_INSTALL_MASK and DOC_SYMLINKS_DIR, so add them too. svn path=/main/trunk/; revision=10195 --- pym/portage/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pym') diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index db580c470..c51497eef 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -936,6 +936,11 @@ class config(object): "XARGS", ] + # user config variables + _environ_whitelist += [ + "DOC_SYMLINKS_DIR", "INSTALL_MASK", "PKG_INSTALL_MASK" + ] + _environ_whitelist += [ "A", "AA", "CATEGORY", "P", "PF", "PN", "PR", "PV", "PVR" ] -- cgit v1.2.3-1-g7c22