diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-09-07 03:11:02 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-09-07 03:11:02 +0000 |
commit | 3fb006dccb20a74d301d45812f6410ce57a9991f (patch) | |
tree | 8da0a9115fa1497235b7bed8397c773d18864d22 | |
parent | c6feae3fe240bd683b96b794acf7b3ccb6de74a4 (diff) | |
download | portage-3fb006dccb20a74d301d45812f6410ce57a9991f.tar.gz portage-3fb006dccb20a74d301d45812f6410ce57a9991f.tar.bz2 portage-3fb006dccb20a74d301d45812f6410ce57a9991f.zip |
For bug #190268, filter SANDBOX_* from the calling environment so that they
can't interfere with ebuild.sh. (trunk r7746)
svn path=/main/branches/2.1.2/; revision=7747
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 28e54af7b..a4fb9a9e5 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1313,7 +1313,8 @@ class config: # Blacklist vars that could interfere with portage internals. for blacklisted in "CATEGORY", "PKGUSE", "PORTAGE_CONFIGROOT", \ - "ROOT": + "ROOT", "SANDBOX_DENY", "SANDBOX_PREDICT", "SANDBOX_READ", \ + "SANDBOX_WRITE": for cfg in self.lookuplist: cfg.pop(blacklisted, None) del blacklisted, cfg |