diff options
| author | nl6720 <nl6720@gmail.com> | 2022-08-07 16:16:52 +0300 |
|---|---|---|
| committer | nl6720 <nl6720@gmail.com> | 2022-08-07 16:16:52 +0300 |
| commit | 6ac22309530f3aa07a2b638ccde419a3a509f50c (patch) | |
| tree | a6a08ac78d77c8f51162122446941d744a403c77 | |
| parent | 30502031372298d266e7fc92688fa1a2ec5a5ac5 (diff) | |
| download | archiso-6ac22309530f3aa07a2b638ccde419a3a509f50c.tar.gz archiso-6ac22309530f3aa07a2b638ccde419a3a509f50c.tar.bz2 | |
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
| -rwxr-xr-x | archiso/mkarchiso | 5 |
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 |
