From cda56d99617631682b5429dedf14d68b0602e31d Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 8 Mar 2009 21:11:24 +0000 Subject: [PATCH] Merged from trunk -r12785:12788 | 12788 | Translate period characters in eclass names when generating | | zmedico | variable names to store EXPORT_FUNCTIONS arguments. Thanks | | | to Arfrever for reporting. | svn path=/main/branches/prefix/; revision=12790 --- bin/ebuild.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 9a3443fbb..5014f6519 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1183,9 +1183,10 @@ inherit() { olocation="" export ECLASS="$1" - __export_funcs_var=__export_functions_${ECLASS/-/___} - while [[ $__export_funcs_var != ${__export_funcs_var/-/___} ]] ; do - __export_funcs_var=${__export_funcs_var/-/___} + __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__} done unset $__export_funcs_var -- 2.26.2