summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-09-23 21:01:55 -0400
committerMike Gilbert <floppym@gentoo.org>2016-09-23 21:02:59 -0400
commit7db89b8b902e3c2ee943e78e91a7534a898ae582 (patch)
tree4dc8ad979658270a475249c8c9413f08e7b0bb24 /eclass/python-utils-r1.eclass
parentmedia-libs/exiftool: remove old (diff)
downloadgentoo-7db89b8b902e3c2ee943e78e91a7534a898ae582.tar.gz
gentoo-7db89b8b902e3c2ee943e78e91a7534a898ae582.tar.bz2
gentoo-7db89b8b902e3c2ee943e78e91a7534a898ae582.zip
python-utils-r1.eclass: try C.UTF-8 and en_GB.UTF-8 in python_export_utf8_locale
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index bf833eb9900..60eedf7e2ab 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