texlive[63696] Master/install-tl: don't expand_tilde in user dirs, to

commits+karl at tug.org commits+karl at tug.org
Thu Jun 23 00:04:04 CEST 2022


Revision: 63696
          http://tug.org/svn/texlive?view=revision&revision=63696
Author:   karl
Date:     2022-06-23 00:04:04 +0200 (Thu, 23 Jun 2022)
Log Message:
-----------
don't expand_tilde in user dirs, to hopefully
avoid the new (and undesirable) /root expansion.

Modified Paths:
--------------
    trunk/Master/install-tl

Modified: trunk/Master/install-tl
===================================================================
--- trunk/Master/install-tl	2022-06-22 21:08:16 UTC (rev 63695)
+++ trunk/Master/install-tl	2022-06-22 22:04:04 UTC (rev 63696)
@@ -1021,8 +1021,9 @@
     tldie("$0: Nothing selected, nothing to install, exiting!\n");
   }
   # expand ~ in various variables just to be sure
-  for my $v (qw/TEXDIR TEXMFLOCAL TEXMFSYSVAR TEXMFSYSCONFIG TEXMFHOME
-                TEXMFVAR TEXMFCONFIG/) {
+  # (but not the user dirs since we want the ~ to stay literal ... must
+  # think more ... qqq)
+  for my $v (qw/TEXDIR TEXMFLOCAL TEXMFSYSVAR TEXMFSYSCONFIG/) {
     $vars{$v} = TeXLive::TLUtils::expand_tilde($vars{$v}) if ($vars{$v});
   }
   # maybe_make_ro tests for admin, local drive and NTFS before proceeding.



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