summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-03 06:52:57 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-03 06:52:57 +0000
commitc5bf4898b5647052fa784583b38248ee31dca5c7 (patch)
tree1743d75aba5db439bb5ee66ccfded61424eb16c0 /pym
parent5aa1f6d5291d524621b5ca4241da36c2dc893e53 (diff)
downloadportage-c5bf4898b5647052fa784583b38248ee31dca5c7.tar.gz
portage-c5bf4898b5647052fa784583b38248ee31dca5c7.tar.bz2
portage-c5bf4898b5647052fa784583b38248ee31dca5c7.zip
Bug #245356 - Filter POSIXLY_CORRECT from the ebuild environment since it
breaks stuff. svn path=/main/trunk/; revision=11804
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index eff5c0711..b269ea9e9 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -987,6 +987,11 @@ class config(object):
"INFOPATH", "MANPATH",
]
+ # variables that break bash
+ _environ_filter += [
+ "POSIXLY_CORRECT",
+ ]
+
# portage config variables and variables set directly by portage
_environ_filter += [
"ACCEPT_KEYWORDS", "AUTOCLEAN",