$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
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" ] && \