From 7db89b8b902e3c2ee943e78e91a7534a898ae582 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Fri, 23 Sep 2016 21:01:55 -0400 Subject: 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(-) (limited to 'eclass/python-utils-r1.eclass') diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index bf833eb99007..60eedf7e2ab3 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 -- cgit v1.2.3