aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-01-28 15:39:50 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-01-28 15:39:50 +0000
commit76fc5f762ffd2ef4089c412145a71730bcbba9df (patch)
tree6aa7076276dbaf5f9e69387c2e2d952def10baff
parent2bd227c4b7b5ec060db188c95b3afe08d2852918 (diff)
downloadpaludis-76fc5f762ffd2ef4089c412145a71730bcbba9df.tar.gz
paludis-76fc5f762ffd2ef4089c412145a71730bcbba9df.tar.xz
Strip commandline-related vars from environment too.
-rwxr-xr-xebuild/ebuild.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 24dfe11..e0654fd 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -205,6 +205,9 @@ ebuild_load_ebuild()
-e '/^\(declare \(-[^ ]\+ \)\?\)\?DISTDIR=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?PALUDIS_EBUILD_DIR=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?PALUDIS_COMMAND=/d' \
+ -e '/^\(declare \(-[^ ]\+ \)\?\)\?PALUDIS_CLIENT=/d' \
+ -e '/^\(declare \(-[^ ]\+ \)\?\)\?[^=]*_CMDLINE_.*=/d' \
+ -e '/^\(declare \(-[^ ]\+ \)\?\)\?[^=]*_OPTIONS=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?PALUDIS_HOME=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?PALUDIS_PID=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?EBUILD_KILL_PID=/d' \