From: Simon McVittie Date: Fri, 1 Dec 2023 19:10:50 +0000 (+0000) Subject: CI: Set language environment variables to safe values X-Git-Tag: dbus-1.15.10~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06606bd8cdf47b7adfb560bfd5c08689aec47bfd;p=thirdparty%2Fdbus.git 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 --- diff --git a/tools/ci-build.sh b/tools/ci-build.sh index b95cfa86e..ea6b35a26 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -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 ##