From 6ac22309530f3aa07a2b638ccde419a3a509f50c Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sun, 7 Aug 2022 16:16:52 +0300 Subject: mkarchiso: unset LANGUAGE LC_ALL=C.UTF-8, unlike LC_ALL=C, does not override LANGUAGE. See https://sourceware.org/bugzilla/show_bug.cgi?id=16621 and https://savannah.gnu.org/bugs/?62815 --- archiso/mkarchiso | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 9efb29f..8235ddd 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -7,6 +7,11 @@ set -e -u # Control the environment umask 0022 export LC_ALL="C.UTF-8" +if [[ -v LANGUAGE ]]; then + # LC_ALL=C.UTF-8, unlike LC_ALL=C, does not override LANGUAGE. + # See https://sourceware.org/bugzilla/show_bug.cgi?id=16621 and https://savannah.gnu.org/bugs/?62815 + unset LANGUAGE +fi [[ -v SOURCE_DATE_EPOCH ]] || printf -v SOURCE_DATE_EPOCH '%(%s)T' -1 export SOURCE_DATE_EPOCH -- cgit v1.2.3-70-g09d2