summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-04-13 11:50:56 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-04-13 11:50:56 +0000
commit1ec8eebcc34ea76732916c4410c7baf9c17c9c7f (patch)
treeceadc81f148d429d8f938e23e7ee4eb9502d0ce0 /eclass
parentSigh, 2.0.2_rc16 and 2.1.1_rc16 (diff)
downloadhistorical-1ec8eebcc34ea76732916c4410c7baf9c17c9c7f.tar.gz
historical-1ec8eebcc34ea76732916c4410c7baf9c17c9c7f.tar.bz2
historical-1ec8eebcc34ea76732916c4410c7baf9c17c9c7f.zip
Fix pattern matching for rogue locale cases (bug #129526)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass
index d8b4c9208801..c7cb7b2bb98d 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.51 2006/02/27 14:19:22 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.52 2006/04/13 11:50:56 caleb Exp $
#
# Author: Mamoru KOMACHI <usata@gentoo.org>
#
@@ -158,6 +158,11 @@ 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
[ -e $i ] && dodoc $i
done