diff options
author | Hans de Graaff <graaff@gentoo.org> | 2008-01-20 06:56:54 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2008-01-20 06:56:54 +0000 |
commit | 356e47f428c60a778458a66b77c522a96c767705 (patch) | |
tree | 1ba42c0ad52d2eb11862bdd255fbd1fe4a707217 /eclass | |
parent | Remove old versions (diff) | |
download | historical-356e47f428c60a778458a66b77c522a96c767705.tar.gz historical-356e47f428c60a778458a66b77c522a96c767705.tar.bz2 historical-356e47f428c60a778458a66b77c522a96c767705.zip |
Rewrite pattern matching using POSIX classes suggested in #205782 and remove the locale-setting workaround from #129526.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby.eclass | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass index 769f4faa8899..267243bd7558 100644 --- a/eclass/ruby.eclass +++ b/eclass/ruby.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.69 2008/01/06 19:30:24 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.70 2008/01/20 06:56:54 graaff Exp $ # # Author: Mamoru KOMACHI <usata@gentoo.org> # @@ -184,12 +184,7 @@ erubydoc() { done fi - # Pattern matching will mismatch for locales without case based - # character sorting (from bug #129526) - export LC_COLLATE=C - unset LC_ALL - - for i in ChangeLog* [A-Z][A-Z]* ; do + for i in ChangeLog* [[:upper:]][[:upper:]]* ; do [ -e $i ] && dodoc $i done } |