aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2007-04-26 17:35:44 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2007-04-26 17:35:44 +0000
commitadbd19d56bb68008763db237f6703a64fc405677 (patch)
treec346ae58e5314a238b24d50dc0840d1ecea14a08
parent3b5d7e45130fc3f2e8d031ca7bf4cbbe17acf2c5 (diff)
downloadpaludis-adbd19d56bb68008763db237f6703a64fc405677.tar.gz
paludis-adbd19d56bb68008763db237f6703a64fc405677.tar.xz
Filter more environment variables. Fixes ticket:207
-rwxr-xr-xpaludis/repositories/gentoo/ebuild/ebuild.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/repositories/gentoo/ebuild/ebuild.bash b/paludis/repositories/gentoo/ebuild/ebuild.bash
index 7833f8d..c76e5ff 100755
--- a/paludis/repositories/gentoo/ebuild/ebuild.bash
+++ b/paludis/repositories/gentoo/ebuild/ebuild.bash
@@ -154,6 +154,8 @@ ebuild_scrub_environment()
local filters=(
-e '/^\(EU\|PP\|U\)ID=/d'
-e '/^BASH_\(ARGC\|ARGV\|LINENO\|SOURCE\|VERSINFO\)=/d'
+ -e '/^BASH_COMPLETION\(_DIR\)\?=/d'
+ -e '/^bash[0-9]\+[a-z]\?=/d'
-e '/^\(FUNCNAME\|GROUPS\|SHELLOPTS\)=/d'
-e '/^\(declare -x \|export \)\?SANDBOX_ACTIVE=/d'
)