From 4fd372c081a966cf6c52da27d933be1bc6c0e30b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 10 Jun 2024 20:25:03 +0000 Subject: [PATCH] citation-style-language (9jun24) git-svn-id: svn://tug.org/texlive/trunk/Build/source@71468 c570f23f-e606-0410-a88d-b1316a301751 --- texk/texlive/linked_scripts/texlive/fmtutil.pl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/texk/texlive/linked_scripts/texlive/fmtutil.pl b/texk/texlive/linked_scripts/texlive/fmtutil.pl index d22b3350c2..aa677aa184 100755 --- a/texk/texlive/linked_scripts/texlive/fmtutil.pl +++ b/texk/texlive/linked_scripts/texlive/fmtutil.pl @@ -1,9 +1,9 @@ #!/usr/bin/env perl -# $Id: fmtutil.pl 68962 2023-11-24 23:01:43Z karl $ +# $Id: fmtutil.pl 71424 2024-06-04 10:25:53Z preining $ # 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. # @@ -24,11 +24,11 @@ BEGIN TeX::Update->import(); } -my $svnid = '$Id: fmtutil.pl 68962 2023-11-24 23:01:43Z karl $'; -my $lastchdate = '$Date: 2023-11-25 00:01:43 +0100 (Sat, 25 Nov 2023) $'; +my $svnid = '$Id: fmtutil.pl 71424 2024-06-04 10:25:53Z preining $'; +my $lastchdate = '$Date: 2024-06-04 12:25:53 +0200 (Tue, 04 Jun 2024) $'; $lastchdate =~ s/^\$Date:\s*//; $lastchdate =~ s/ \(.*$//; -my $svnrev = '$Revision: 68962 $'; +my $svnrev = '$Revision: 71424 $'; $svnrev =~ s/^\$Revision:\s*//; $svnrev =~ s/\s*\$$//; my $version = "r$svnrev ($lastchdate)"; @@ -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