For bug #190268, filter SANDBOX_* from the calling environment so that they
authorZac Medico <zmedico@gentoo.org>
Fri, 7 Sep 2007 03:11:02 +0000 (03:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 7 Sep 2007 03:11:02 +0000 (03:11 -0000)
can't interfere with ebuild.sh. (trunk r7746)

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

pym/portage.py

index 28e54af7b908d568ee039a5dad255535fa599e50..a4fb9a9e59222e8edc88112c3ec718716b5cd254 100644 (file)
@@ -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