summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2024-06-04 10:25:53 +0000
committerNorbert Preining <preining@logic.at>2024-06-04 10:25:53 +0000
commit630b1b54e8e8fbb87f07e2667390373d5a93bca1 (patch)
tree07cc292ca8ab63670aa9f5006802376ba274c399
parentaeb364c353303b9e349b1f21c800feeab7ab3a37 (diff)
fmtutil: set LC_ALL=C to make luatex happy
git-svn-id: svn://tug.org/texlive/trunk@71424 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/fmtutil.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl
index 63b0d6685ba..c1d8cd978a4 100755
--- a/Master/texmf-dist/scripts/texlive/fmtutil.pl
+++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl
@@ -3,7 +3,7 @@
# fmtutil - utility to maintain format files.
# (Maintained in TeX Live:Master/texmf-dist/scripts/texlive.)
#
-# Copyright 2014-2023 Norbert Preining
+# Copyright 2014-2024 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
@@ -450,6 +450,9 @@ sub callback_build_formats {
# for MFBASES.
$ENV{'TEXFORMATS'} ||= "";
$ENV{'TEXFORMATS'} = "$tmpdir$sep$ENV{TEXFORMATS}";
+ #
+ # ensure that LC_ALL is set to C to guarantee luatex generating formats
+ $ENV{'LC_ALL'} = "C";
# switch to temporary directory for format generation; on the other hand,
# for -n, the tmpdir won't exist, but we don't want to find a spurious