aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gentoo/ebuild/ebuild.bash
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/gentoo/ebuild/ebuild.bash')
-rwxr-xr-xpaludis/repositories/gentoo/ebuild/ebuild.bash5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/ebuild/ebuild.bash b/paludis/repositories/gentoo/ebuild/ebuild.bash
index 94c8a2e..69f29cf 100755
--- a/paludis/repositories/gentoo/ebuild/ebuild.bash
+++ b/paludis/repositories/gentoo/ebuild/ebuild.bash
@@ -189,7 +189,10 @@ ebuild_scrub_environment()
export -p >>"${1}"
) || return $?
- sed -i -e 's:^declare -rx:declare -x:' "${filters[@]}" "${1}"
+ sed -i \
+ -e 's:^declare -rx:declare -x:' \
+ -e 's:^declare -x :export :' \
+ "${filters[@]}" "${1}"
}
ebuild_load_environment()