summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-08 21:25:29 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-08 21:25:29 +0000
commitddfd72f5dc0246696841ffe61880ebe4caa67719 (patch)
treeba0c7c98c799caeb0c2b6eed82cca309cf264c36
parent490158773e04b165b1c05fbaaad9892a8ea04bbf (diff)
downloadportage-ddfd72f5dc0246696841ffe61880ebe4caa67719.tar.gz
portage-ddfd72f5dc0246696841ffe61880ebe4caa67719.tar.bz2
portage-ddfd72f5dc0246696841ffe61880ebe4caa67719.zip
Also support + character in eclass names.
svn path=/main/trunk/; revision=12791
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index e810446f9..c04882426 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -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