summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2008-01-20 06:56:54 +0000
committerHans de Graaff <graaff@gentoo.org>2008-01-20 06:56:54 +0000
commit356e47f428c60a778458a66b77c522a96c767705 (patch)
tree1ba42c0ad52d2eb11862bdd255fbd1fe4a707217 /eclass
parentRemove old versions (diff)
downloadhistorical-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.eclass9
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
}