From 39a97c03ea7b9116334384760502a06f5ba87ae6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 9 Mar 2009 10:32:13 +0000 Subject: 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 --- bin/ebuild.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bin') 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" ] && \ -- cgit v1.2.3-1-g7c22