From 721965014e863a7f385576a919b4e10abf5ce9d5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 8 Dec 2011 09:57:00 -0800 Subject: [PATCH] Whitelist/filter __PORTAGE_TEST_EPREFIX. --- bin/phase-functions.sh | 3 ++- pym/portage/package/ebuild/_config/special_env_vars.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index b19424291..482b5b170 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -27,7 +27,8 @@ PORTAGE_READONLY_VARS="D EBUILD EBUILD_PHASE \ PORTAGE_SAVED_READONLY_VARS PORTAGE_SIGPIPE_STATUS \ PORTAGE_TMPDIR PORTAGE_UPDATE_ENV PORTAGE_USERNAME \ PORTAGE_VERBOSE PORTAGE_WORKDIR_MODE PORTDIR PORTDIR_OVERLAY \ - PROFILE_PATHS REPLACING_VERSIONS REPLACED_BY_VERSION T WORKDIR" + PROFILE_PATHS REPLACING_VERSIONS REPLACED_BY_VERSION T WORKDIR \ + __PORTAGE_TEST_EPREFIX" PORTAGE_SAVED_READONLY_VARS="A CATEGORY P PF PN PR PV PVR" diff --git a/pym/portage/package/ebuild/_config/special_env_vars.py b/pym/portage/package/ebuild/_config/special_env_vars.py index 206836d41..9ac37fb85 100644 --- a/pym/portage/package/ebuild/_config/special_env_vars.py +++ b/pym/portage/package/ebuild/_config/special_env_vars.py @@ -66,7 +66,7 @@ environ_whitelist += [ "REPLACING_VERSIONS", "REPLACED_BY_VERSION", "ROOT", "ROOTPATH", "T", "TMP", "TMPDIR", "USE_EXPAND", "USE_ORDER", "WORKDIR", - "XARGS", + "XARGS", "__PORTAGE_TEST_EPREFIX", ] # user config variables -- 2.26.2