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