aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-10-24 21:13:17 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-10-24 21:13:17 +0000
commit96ef3702a1dcf0f7b2e3ae1e6f65a7178d4ee2fd (patch)
tree79429ddba52a401ab4d46f2cbe48706b26ce4c28
parent4ba5db599133792b39900301a89d145d5dc48048 (diff)
downloadpaludis-96ef3702a1dcf0f7b2e3ae1e6f65a7178d4ee2fd.tar.gz
paludis-96ef3702a1dcf0f7b2e3ae1e6f65a7178d4ee2fd.tar.xz
Filter some more functions from the saved environment, so we don't get the Portage implementations.
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 2b982a5..1d7c2b5 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -212,6 +212,7 @@ ebuild_scrub_environment()
source "${1}" || exit 1
unset -f diefunc perform_hook inherit builtin_loadenv builtin_saveenv
+ unset -f portageq best_version has_version
unset -v PATH ROOTPATH T HOME TMPDIR PALUDIS_TMPDIR PALUDIS_EBUILD_LOG_LEVEL
unset -v PORTDIR FILESDIR ECLASSDIR DISTDIR PALUDIS_EBUILD_DIR