Also support + character in eclass names.
authorZac Medico <zmedico@gentoo.org>
Sun, 8 Mar 2009 21:25:29 +0000 (21:25 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 8 Mar 2009 21:25:29 +0000 (21:25 -0000)
svn path=/main/trunk/; revision=12791

bin/ebuild.sh

index e810446f92403453357bd576633ac34521830cda..c04882426e325c9e3d49bce38af346b7378818f9 100755 (executable)
@@ -1174,9 +1174,10 @@ inherit() {
 
                export ECLASS="$1"
                __export_funcs_var=__export_functions_$ECLASS
-               while [[ $__export_funcs_var =~ [-.] ]] ; do
+               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
                unset $__export_funcs_var