mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
python-utils-r1.eclass: try C.UTF-8 and en_GB.UTF-8 in python_export_utf8_locale
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user