From 6c965ad97b2c32e90136a96a218051dbe8b6011e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 15 Apr 2022 05:19:42 +0000 Subject: tlmgr usermode: logfiles in TEXMFVAR/web2c git-svn-id: svn://tug.org/texlive/trunk@63033 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 7 ++++--- 1 file 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. =head2 User mode logs In user mode, C and are written in the -C directlry instead of C. +C directlry instead of C. =head1 MULTIPLE REPOSITORIES -- cgit v1.2.3