In ebuild_main(), unset ebuild_helpers_path when finished with it, since
authorZac Medico <zmedico@gentoo.org>
Tue, 21 Apr 2009 07:11:23 +0000 (07:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 21 Apr 2009 07:11:23 +0000 (07:11 -0000)
bash exposes local variables to 'children'.

svn path=/main/trunk/; revision=13381

bin/ebuild.sh

index 7fe8f56494f422cd425e34ceaefddd20c1cce813..c9d9b786f1316a48028c1b23e18f138f7949627d 100755 (executable)
@@ -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