summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/install-tl b/Master/install-tl
index ce3bd80de75..9ef3b4ab6a9 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -48,7 +48,7 @@ use Pod::Usage;
use TeXLive::TLUtils qw(platform platform_desc sort_archs
which getenv win32 unix info log debug tlwarn ddebug tldie
- get_system_tmpdir member process_logging_options rmtree wsystem
+ member process_logging_options rmtree wsystem
mkdirhier make_var_skeleton make_local_skeleton install_package copy
install_packages dirname setup_programs native_slashify forward_slashify);
use TeXLive::TLPOBJ;
@@ -334,10 +334,11 @@ my $location;
my $finished = 0;
@::info_hook = ();
-my $system_tmpdir=get_system_tmpdir();
our $media;
our @media_available;
+TeXLive::TLUtils::initialize_global_tmpdir();
+
# special uses of install-tl:
if ($opt_print_arch) {
print platform()."\n";
@@ -708,7 +709,7 @@ sub final_remote_init {
} else {
info("Distribution: $media\n");
}
- info("Directory for temporary files: $system_tmpdir\n");
+ info("Directory for temporary files: $::tl_tmpdir\n");
if ($opt_in_place and ($media ne "local_uncompressed")) {
print "TeX Live not local or not decompressed; 'in_place' option not applicable\n";