summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:22:48 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:22:48 +0000
commitef0cc93c244bb3b9fa80911a110050c16fe4abed (patch)
treee6594b92051c8e8d6666c47eae16f3ae1228813f
parentAdd ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. Thanks (diff)
downloadportage-multirepo-ef0cc93c244bb3b9fa80911a110050c16fe4abed.tar.gz
portage-multirepo-ef0cc93c244bb3b9fa80911a110050c16fe4abed.tar.bz2
portage-multirepo-ef0cc93c244bb3b9fa80911a110050c16fe4abed.zip
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
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 7fe8f564..c9d9b786 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