From 9374737005c9fa36a870111f100fe27f9a0efd8e Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 7 Sep 2020 12:13:04 -0400 Subject: gitlab-ci: Accept Centos 7 C.utf8 locale Centos apparently has C.utf8 rather than C.UTF-8. (cherry picked from commit d9f85dd25a26a04d3485470afb3395ee2dec6464) --- .gitlab/ci.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh index a35a104873..6f314089a3 100755 --- a/.gitlab/ci.sh +++ b/.gitlab/ci.sh @@ -76,6 +76,9 @@ function setup_locale() { elif locale -a | grep -q en_US.UTF-8; then # Centos doesn't have C.UTF-8 export LANG=en_US.UTF-8 + elif locale -a | grep -q en_US.utf8; then + # Centos doesn't have C.UTF-8 + export LANG=en_US.utf8 else error "Failed to find usable locale" info "Available locales:" -- cgit v1.2.1