diff options
author | Norbert Preining <preining@logic.at> | 2022-04-15 05:19:42 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2022-04-15 05:19:42 +0000 |
commit | 6c965ad97b2c32e90136a96a218051dbe8b6011e (patch) | |
tree | f27267bb80287f54e72bed41cf6d7cf87f771882 /Master | |
parent | 2865e07dd1b6dabd6e61818baa9b246e9c8f81da (diff) |
tlmgr usermode: logfiles in TEXMFVAR/web2c
git-svn-id: svn://tug.org/texlive/trunk@63033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 0d20a23bceb..e7117c23c62 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -640,9 +640,10 @@ for the full story.\n"; $packagelogged = 0; # how many msgs we logged $commandslogged = 0; chomp (my $texmfsysvar = `kpsewhich -var-value=TEXMFSYSVAR`); + chomp (my $texmfvar = `kpsewhich -var-value=TEXMFVAR`); $packagelogfile = $opts{"package-logfile"}; if ($opts{"usermode"}) { - $packagelogfile ||= "$::maintree/web2c/tlmgr.log"; + $packagelogfile ||= "$texmfvar/web2c/tlmgr.log"; } else { $packagelogfile ||= "$texmfsysvar/web2c/tlmgr.log"; } @@ -659,7 +660,7 @@ for the full story.\n"; # output of executed commands are put into -command-logfile $commandlogfile = $opts{"command-logfile"}; if ($opts{"usermode"}) { - $commandlogfile ||= "$::maintree/web2c/tlmgr-commands.log"; + $commandlogfile ||= "$texmfvar/web2c/tlmgr-commands.log"; } else { $commandlogfile ||= "$texmfsysvar/web2c/tlmgr-commands.log"; } @@ -9652,7 +9653,7 @@ configuration files and/or C<texlive.tlpdb>. =head2 User mode logs In user mode, C<tlmgr.log> and <tlmgr-commands.log> are written in the -C<USERTREE/web2c/> directlry instead of C<TEXMFSYSVAR/web2c/>. +C<TEXMFVAR/web2c/> directlry instead of C<TEXMFSYSVAR/web2c/>. =head1 MULTIPLE REPOSITORIES |