CI: Set language environment variables to safe values

Recent versions of glibc support C.UTF-8 natively, and both Debian and
openSUSE (which we use for our CI) have been patching it into our glibc
versions for several years before that.

Helps: https://gitlab.freedesktop.org/dbus/dbus/-/issues/488
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2023-12-01 19:10:50 +00:00
parent accbd6d041
commit 06606bd8cd

View file

@ -29,6 +29,12 @@ set -x
NULL=
if [ "$(uname -s || true)" = Linux ]; then
export LANG=C.UTF-8
export LANGUAGE=C.UTF-8
export LC_ALL=C.UTF-8
fi
##
## initialize support to run cross compiled executables
##