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

commits+preining at tug.org commits+preining at tug.org
Fri Apr 15 07:19:42 CEST 2022


Revision: 63033
          http://tug.org/svn/texlive?view=revision&revision=63033
Author:   preining
Date:     2022-04-15 07:19:42 +0200 (Fri, 15 Apr 2022)
Log Message:
-----------
tlmgr usermode: logfiles in TEXMFVAR/web2c

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	2022-04-15 04:02:18 UTC (rev 63032)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2022-04-15 05:19:42 UTC (rev 63033)
@@ -640,9 +640,10 @@
   $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 @@
   # 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 @@
 =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
 



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