1 |
commit: 7db89b8b902e3c2ee943e78e91a7534a898ae582 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 01:01:55 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 24 01:02:59 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db89b8b |
7 |
|
8 |
python-utils-r1.eclass: try C.UTF-8 and en_GB.UTF-8 in python_export_utf8_locale |
9 |
|
10 |
eclass/python-utils-r1.eclass | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
14 |
index bf833eb..60eedf7 100644 |
15 |
--- a/eclass/python-utils-r1.eclass |
16 |
+++ b/eclass/python-utils-r1.eclass |
17 |
@@ -1232,7 +1232,7 @@ python_export_utf8_locale() { |
18 |
|
19 |
if [[ $(locale charmap) != UTF-8 ]]; then |
20 |
# Try English first, then everything else. |
21 |
- local lang locales="en_US.UTF-8 $(locale -a)" |
22 |
+ local lang locales="C.UTF-8 en_US.UTF-8 en_GB.UTF-8 $(locale -a)" |
23 |
|
24 |
for lang in ${locales}; do |
25 |
if [[ $(LC_ALL=${lang} locale charmap 2>/dev/null) == UTF-8 ]]; then |