aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-03-02 16:37:44 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-03-02 16:37:44 +0000
commit49b4bccd9d2e0e3482662a9af4762df1a401be4c (patch)
treec07f4f5ed4b801c93b0df167b748cfda88d68cd6
parentef586a170094e6a30b5f96fb42ff03a6d63f650a (diff)
downloadpaludis-49b4bccd9d2e0e3482662a9af4762df1a401be4c.tar.gz
paludis-49b4bccd9d2e0e3482662a9af4762df1a401be4c.tar.xz
Stop bash from complaining about SANDBOX_ACTIVE.
-rwxr-xr-xpaludis/repositories/gentoo/ebuild/ebuild.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/ebuild/ebuild.bash b/paludis/repositories/gentoo/ebuild/ebuild.bash
index 69f29cf..0df0f91 100755
--- a/paludis/repositories/gentoo/ebuild/ebuild.bash
+++ b/paludis/repositories/gentoo/ebuild/ebuild.bash
@@ -148,7 +148,7 @@ ebuild_scrub_environment()
-e '/^\(EU\|PP\|U\)ID=/d'
-e '/^BASH_\(ARGC\|ARGV\|LINENO\|SOURCE\|VERSINFO\)=/d'
-e '/^\(FUNCNAME\|GROUPS\|SHELLOPTS\)=/d'
- -e '/^\(declare -x \)\?SANDBOX_ACTIVE=/d'
+ -e '/^\(declare -x \|export \)\?SANDBOX_ACTIVE=/d'
)
sed -i "${filters[@]}" "${1}"