diff options
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl index 43fb7271bd7..44748078016 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -309,7 +309,7 @@ our $opt_in_place = 0; my $opt_verify_downloads; # debug options my $opt_debug_fakenet = 0; -my $opt_debug_setup_vars = 1; +my $opt_debug_setup_vars = 0; # show all options even those not relevant for that arch $::opt_all_options = 0; @@ -956,6 +956,10 @@ sub do_installation { && $vars{'n_collections_selected'} <= 0) { 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/) { + $vars{$v} = TeXLive::TLUtils::expand_tilde($vars{$v}) if ($vars{$v}); + } # maybe_make_ro tests for admin, local drive and NTFS before proceeding. # making the root read-only automatically locks everything below it. # do TEXDIR now, before it loses its final slash |