summaryrefslogtreecommitdiff
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
commit191959b34b8a1452bef94a17f62a2aee9a03b1d6 (patch)
tree94b1a2c19e905dc76a4291c8732cb333ef9880fd /eclass/ruby.eclass
parentRemove old versions (diff)
downloadgentoo-2-191959b34b8a1452bef94a17f62a2aee9a03b1d6.tar.gz
gentoo-2-191959b34b8a1452bef94a17f62a2aee9a03b1d6.tar.bz2
gentoo-2-191959b34b8a1452bef94a17f62a2aee9a03b1d6.zip
Rewrite pattern matching using POSIX classes suggested in #205782 and remove the locale-setting workaround from #129526.
Diffstat (limited to 'eclass/ruby.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
}