From: Zac Medico Date: Tue, 21 Apr 2009 07:11:23 +0000 (-0000) Subject: In ebuild_main(), unset ebuild_helpers_path when finished with it, since X-Git-Tag: v2.2_rc32~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5169f55601c29cb5e72361b3254b71a41af2d5b1;p=portage.git In ebuild_main(), unset ebuild_helpers_path when finished with it, since bash exposes local variables to 'children'. svn path=/main/trunk/; revision=13381 --- 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