summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2020-03-18 03:27:17 +0000
committerNorbert Preining <preining@logic.at>2020-03-18 03:27:17 +0000
commit4eaa0ad42f43a6b2a91b060e6d05d6d998add244 (patch)
treef3b1b6a10cb748352990bbe6db1d3bf6a43719ff /Master/texmf-dist/scripts
parent6b74fbb45e92ee4d8287fc5b591c99794b1568d1 (diff)
log output of commands to tlmgr.log
git-svn-id: svn://tug.org/texlive/trunk@54386 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index 5ed4a651651..0d5f8cf82ff 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -813,6 +813,7 @@ sub do_cmd_and_check {
# 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 @@ sub do_cmd_and_check {
}
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);
}
}