summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-26 15:58:34 -0700
committerZac Medico <zmedico@gentoo.org>2010-03-26 15:58:34 -0700
commit54f2e2bbf03175577429dd83e64e72aabff10acf (patch)
treeb13142ded18bf1459a1b67dc824ba44a97eac85e /bin/isolated-functions.sh
parentProcess help and version actions asap. Thanks to Brian Harring. (diff)
downloadportage-multirepo-54f2e2bbf03175577429dd83e64e72aabff10acf.tar.gz
portage-multirepo-54f2e2bbf03175577429dd83e64e72aabff10acf.tar.bz2
portage-multirepo-54f2e2bbf03175577429dd83e64e72aabff10acf.zip
Add PORTAGE_USERNAME and PORTAGE_GROUPNAME to the environment whitelist and
filter them from the saved environment.
Diffstat (limited to 'bin/isolated-functions.sh')
-rw-r--r--bin/isolated-functions.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index e7d0d4ee..bf11c0d4 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -555,11 +555,12 @@ save_ebuild_env() {
PORTAGE_BASHRC PORTAGE_BASHRCS_SOURCED \
PORTAGE_BINPKG_TAR_OPTS PORTAGE_BINPKG_TMPFILE PORTAGE_BUILDDIR \
PORTAGE_COLORMAP PORTAGE_CONFIGROOT PORTAGE_DEBUG \
- PORTAGE_DEPCACHEDIR PORTAGE_GID PORTAGE_INST_GID \
+ PORTAGE_DEPCACHEDIR PORTAGE_GID \
+ PORTAGE_GROUPNAME PORTAGE_INST_GID \
PORTAGE_INST_UID PORTAGE_LOG_FILE PORTAGE_MASTER_PID \
PORTAGE_NONFATAL PORTAGE_QUIET \
PORTAGE_REPO_NAME PORTAGE_RESTRICT PORTAGE_UPDATE_ENV \
- PORTAGE_VERBOSE PORTAGE_WORKDIR_MODE PORTDIR \
+ PORTAGE_USERNAME PORTAGE_VERBOSE PORTAGE_WORKDIR_MODE PORTDIR \
PORTDIR_OVERLAY ${!PORTAGE_SANDBOX_*} PREROOTPATH \
PROFILE_PATHS PWORKDIR QA_INTERCEPTORS \
RC_DEFAULT_INDENT RC_DOT_PATTERN RC_ENDCOL \