summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-02 19:56:02 +0000
committerKarl Berry <karl@freefriends.org>2023-11-02 19:56:02 +0000
commit71147fa86bd892e6a89bf394448ad5aada518bdb (patch)
treef9c92a1b69d35b7785469b1ff57911ffdf5bf634 /Build/source
parent1e0a29c72707a3dd4a7cf45bc6eea2d43068e2b7 (diff)
latex-dev (2nov23)
git-svn-id: svn://tug.org/texlive/trunk@68730 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texlive/fmtutil.pl15
1 files changed, 10 insertions, 5 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl b/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl
index d7dc8fc555c..5634d65757c 100755
--- a/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl
+++ b/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# $Id: fmtutil.pl 65989 2023-02-20 21:52:59Z karl $
+# $Id: fmtutil.pl 68715 2023-11-01 17:28:01Z karl $
# fmtutil - utility to maintain format files.
# (Maintained in TeX Live:Master/texmf-dist/scripts/texlive.)
#
@@ -24,11 +24,11 @@ BEGIN {
TeX::Update->import();
}
-my $svnid = '$Id: fmtutil.pl 65989 2023-02-20 21:52:59Z karl $';
-my $lastchdate = '$Date: 2023-02-20 22:52:59 +0100 (Mon, 20 Feb 2023) $';
+my $svnid = '$Id: fmtutil.pl 68715 2023-11-01 17:28:01Z karl $';
+my $lastchdate = '$Date: 2023-11-01 18:28:01 +0100 (Wed, 01 Nov 2023) $';
$lastchdate =~ s/^\$Date:\s*//;
$lastchdate =~ s/ \(.*$//;
-my $svnrev = '$Revision: 65989 $';
+my $svnrev = '$Revision: 68715 $';
$svnrev =~ s/^\$Revision:\s*//;
$svnrev =~ s/\s*\$$//;
my $version = "r$svnrev ($lastchdate)";
@@ -383,6 +383,11 @@ sub log_to_status {
sub callback_build_formats {
my ($what, $whatarg) = @_;
+ # sometimes (missing, all) there is no argument passed.
+ # Avoid warning from undef value being logged.
+ # https://tug.org/pipermail/tex-live/2023-September/049526.html
+ $whatarg = "" if ! defined $whatarg;
+
# set up a tmp dir
# On W32 it seems that File::Temp creates restrictive permissions (ok)
# that are copied over with the files created inside it (not ok).
@@ -1478,7 +1483,7 @@ Options:
--force (does nothing, exists for compatibility)
--test (does nothing, exists for compatibility)
-Commands:
+Commands (exactly one must be specified):
--all recreate all format files
--missing create all missing format files
--byengine ENGINE (re)create formats built with ENGINE