From: Zac Medico Date: Thu, 30 Apr 2009 07:22:48 +0000 (-0000) Subject: In ebuild_main(), unset ebuild_helpers_path when finished with it, since X-Git-Tag: v2.1.6.12~40 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ef0cc93c244bb3b9fa80911a110050c16fe4abed;p=portage.git In ebuild_main(), unset ebuild_helpers_path when finished with it, since bash exposes local variables to 'children'. (trunk r13381) svn path=/main/branches/2.1.6/; revision=13533 --- 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