Make sure that PORTAGE_SANDBOX_* variables can never be set
authorZac Medico <zmedico@gentoo.org>
Thu, 13 Dec 2007 19:58:26 +0000 (19:58 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 13 Dec 2007 19:58:26 +0000 (19:58 -0000)
by "${T}"/environment. (trunk r8911)

svn path=/main/branches/2.1.2/; revision=8912

bin/isolated-functions.sh

index 20bcccf9b51172646a57546b2ce5293a87ded0f5..a7e8433ada68bec717481230978b4983d6f5b87a 100644 (file)
@@ -445,7 +445,7 @@ save_ebuild_env() {
                        PORTAGE_DEPCACHEDIR PORTAGE_GID PORTAGE_INST_GID \
                        PORTAGE_INST_UID PORTAGE_LOG_FILE PORTAGE_MASTER_PID \
                        PORTAGE_REPO_NAME PORTAGE_RESTRICT PORTAGE_WORKDIR_MODE PORTDIR \
-                       PORTDIR_OVERLAY PREROOTPATH \
+                       PORTDIR_OVERLAY ${!PORTAGE_SANDBOX_*} PREROOTPATH \
                        PROFILE_PATHS PWORKDIR QA_INTERCEPTORS \
                        RC_DEFAULT_INDENT RC_DOT_PATTERN RC_ENDCOL \
                        RC_INDENTATION READONLY_EBUILD_METADATA READONLY_PORTAGE_VARS \