texlive[58955] Master/texmf-dist/scripts/texlive/tlmgr.pl: tlmgr:

commits+preining at tug.org commits+preining at tug.org
Thu Apr 22 02:45:26 CEST 2021


Revision: 58955
          http://tug.org/svn/texlive?view=revision&revision=58955
Author:   preining
Date:     2021-04-22 02:45:26 +0200 (Thu, 22 Apr 2021)
Log Message:
-----------
tlmgr: fmtutil reporting, small changes

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl

Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2021-04-22 00:45:19 UTC (rev 58954)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2021-04-22 00:45:26 UTC (rev 58955)
@@ -878,7 +878,7 @@
   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";
 
 
   # of create_formats is unset (NOT the default) we add --refresh so that
@@ -1066,9 +1066,9 @@
     } 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 @@
       # 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);
 }



More information about the tex-live-commits mailing list.