summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-09 10:32:13 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-09 10:32:13 +0000
commit39a97c03ea7b9116334384760502a06f5ba87ae6 (patch)
tree176a5ad45c1c6eef613875ffe060aa9000a93231 /bin
parent8958e4cc1f7623916c25dfe081ca74524cd90f11 (diff)
downloadportage-39a97c03ea7b9116334384760502a06f5ba87ae6.tar.gz
portage-39a97c03ea7b9116334384760502a06f5ba87ae6.tar.bz2
portage-39a97c03ea7b9116334384760502a06f5ba87ae6.zip
When generating variable names to hold EXPORT_FUNCTIONS argument in, use
$ECLASS_DEPTH as a unique id since it's a lot simpler then encoding the eclass name in the variable name. svn path=/main/trunk/; revision=12806
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 3c31c87db..e2a796765 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1172,12 +1172,7 @@ inherit() {
olocation=""
export ECLASS="$1"
- __export_funcs_var=__export_functions_$ECLASS
- while [[ $__export_funcs_var =~ [-.+] ]] ; do
- __export_funcs_var=${__export_funcs_var/-/__dash__}
- __export_funcs_var=${__export_funcs_var/./__dot__}
- __export_funcs_var=${__export_funcs_var/+/__plus__}
- done
+ __export_funcs_var=__export_functions_$ECLASS_DEPTH
unset $__export_funcs_var
if [ "${EBUILD_PHASE}" != "depend" ] && \