Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-08-07 16:16:52 +0300
committernl6720 <nl6720@gmail.com>2022-08-07 16:16:52 +0300
commit6ac22309530f3aa07a2b638ccde419a3a509f50c (patch)
treea6a08ac78d77c8f51162122446941d744a403c77 /archiso
parent30502031372298d266e7fc92688fa1a2ec5a5ac5 (diff)
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
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso5
1 files changed, 5 insertions, 0 deletions
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