diff options
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/fmtutil.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl index 03183d69970..c8288f670cf 100755 --- a/Master/texmf-dist/scripts/texlive/fmtutil.pl +++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl @@ -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 |