From 0f8ba4ddaaa751e5f5cb00b681f1e4eafaf2ea1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 19 Apr 2021 06:18:09 +0900 Subject: tlmgr: fmtutil reporting, small changes --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 14 +++++++------- 1 file 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); } -- cgit v1.2.3