aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-13 21:35:00 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-13 21:35:00 +0000
commit00ccfb539b5cb6bfc617af6ce4597a2230b60b99 (patch)
tree03b1df510042445da32e1eca8220a8aa42db21dc
parentbb27d24012893440efe4281bc152dac30d4d9d7c (diff)
downloadpaludis-00ccfb539b5cb6bfc617af6ce4597a2230b60b99.tar.gz
paludis-00ccfb539b5cb6bfc617af6ce4597a2230b60b99.tar.xz
More filtering of environment for Portage-generated VDB entries
-rwxr-xr-xebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 659b113..e4b249c 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -149,6 +149,7 @@ ebuild_load_ebuild()
sed -i \
-e '/^diefunc ()/,/^}/d' \
-e '/^perform_hook ()/,/^}/d' \
+ -e '/^inherit ()/,/^}/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?ROOTPATH=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?PATH=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?T=/d' \