texlive[55294] Master/texmf-dist/scripts/texlive/fmtutil.pl:
commits+preining at tug.org
commits+preining at tug.org
Wed May 27 04:43:59 CEST 2020
Revision: 55294
http://tug.org/svn/texlive?view=revision&revision=55294
Author: preining
Date: 2020-05-27 04:43:58 +0200 (Wed, 27 May 2020)
Log Message:
-----------
fmtutil.pl: fix undefined vars in some border cases, better warnings
Modified Paths:
--------------
trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl
Modified: trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl 2020-05-26 22:03:56 UTC (rev 55293)
+++ trunk/Master/texmf-dist/scripts/texlive/fmtutil.pl 2020-05-27 02:43:58 UTC (rev 55294)
@@ -440,7 +440,11 @@
# unless we tried to rebuild only missing formats.
if ($what ne "missing") {
if ($err + $suc == 0) {
- print_info("did not find entry for $what=$whatarg, skipped\n");
+ if ($what eq "all") {
+ print_warning("You seem to have no formats defined in your fmtutil.cnf files!\n");
+ } else {
+ print_info("Did not find entry for $what=" . ($whatarg?$whatarg:"") . " skipped\n");
+ }
}
}
my $stdo = ($mktexfmtMode ? \*STDERR : \*STDOUT);
More information about the tex-live-commits
mailing list.