texlive[54386] Master/texmf-dist/scripts/texlive/tlmgr.pl: log output
commits+preining at tug.org
commits+preining at tug.org
Wed Mar 18 04:27:19 CET 2020
Revision: 54386
http://tug.org/svn/texlive?view=revision&revision=54386
Author: preining
Date: 2020-03-18 04:27:17 +0100 (Wed, 18 Mar 2020)
Log Message:
-----------
log output of commands to tlmgr.log
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 2020-03-18 00:56:12 UTC (rev 54385)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2020-03-18 03:27:17 UTC (rev 54386)
@@ -813,6 +813,7 @@
# tlmgr front ends (MacOSX's TeX Live Utility) can read it
# and show it to the user before the possibly long delay.
info("running $cmd ...\n");
+ logpackage("running $cmd");
my ($out, $ret);
if ($opts{"dry-run"}) {
$ret = $F_OK;
@@ -828,11 +829,13 @@
}
if ($ret == $F_OK) {
info("done running $cmd.\n");
+ logpackage("success, output: $out");
ddebug("--output of $cmd:\n$out\n--end of output of $cmd.");
return ($F_OK);
} else {
info("\n");
tlwarn("$prg: $cmd failed (status $ret), output:\n$out\n");
+ logpackage("error, status: $ret, output: $out");
return ($F_ERROR);
}
}
More information about the tex-live-commits
mailing list.