summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-21 07:11:23 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-21 07:11:23 +0000
commit5169f55601c29cb5e72361b3254b71a41af2d5b1 (patch)
treefc73cb25c1c8397e4315a32d8cb89dc707b3dddc
parentfb538535551e3018d55fb9fde68518fc6a880842 (diff)
downloadportage-5169f55601c29cb5e72361b3254b71a41af2d5b1.tar.gz
portage-5169f55601c29cb5e72361b3254b71a41af2d5b1.tar.bz2
portage-5169f55601c29cb5e72361b3254b71a41af2d5b1.zip
In ebuild_main(), unset ebuild_helpers_path when finished with it, since
bash exposes local variables to 'children'. svn path=/main/trunk/; revision=13381
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 7fe8f5649..c9d9b786f 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1914,6 +1914,7 @@ ebuild_main() {
esac
export PATH="/usr/local/sbin:/sbin:/usr/sbin:${ebuild_helpers_path}:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}"
+ unset ebuild_helpers_path
if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then