summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-04-19 06:18:09 +0900
committerNorbert Preining <norbert@preining.info>2021-05-09 10:58:53 +0900
commit0f8ba4ddaaa751e5f5cb00b681f1e4eafaf2ea1d (patch)
treeb75142f0f58e97945e6ae3547543d5e6063e1887
parent6cdf512d66cc591a9d98d256223a4f3ccf2b6d1b (diff)
tlmgr: fmtutil reporting, small changes
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index a8873b39acf..a468d7e05a3 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -878,7 +878,7 @@ sub handle_execute_actions {
my $sysmode = ($opts{"usermode"} ? "-user" : "-sys");
my $fmtutil_cmd = "fmtutil$sysmode";
my $status_file = TeXLive::TLUtils::tl_tmpfile();
- my $fmtutil_args = "$common_fmtutil_args --status-file $status_file";
+ my $fmtutil_args = "$common_fmtutil_args --status-file=$status_file";
# if create_formats is false (NOT the default) we add --refresh so that
@@ -1066,9 +1066,9 @@ sub read_and_report_fmtutil_status_file {
} elsif ($status eq "NOTSELECTED") {
# ignore for now
} elsif ($status eq "FAILURE") {
- push @failed, "$fmt/$eng";
+ push @failed, "${fmt}.fmt/$eng";
} elsif ($status eq "SUCCESS") {
- push @success, "$fmt/$eng";
+ push @success, "${fmt}.fmt/$eng";
} elsif ($status eq "NOTAVAIL") {
# ignore for now
} elsif ($status eq "UNKNOWN") {
@@ -1077,10 +1077,10 @@ sub read_and_report_fmtutil_status_file {
# ignore for now
}
}
- logpackage(" OK: @success\n") if (@success);
- logpackage(" ERROR: @failed\n") if (@failed);
- logcommand(" OK: @success\n") if (@success);
- logcommand(" ERROR: @failed\n") if (@failed);
+ logpackage(" OK: @success") if (@success);
+ logpackage(" ERROR: @failed") if (@failed);
+ logcommand(" OK: @success") if (@success);
+ logcommand(" ERROR: @failed") if (@failed);
info(" OK: @success\n") if (@success);
info(" ERROR: @failed\n") if (@failed);
}