From 08eb7d91bb76a0aff4f084b3eeddc01c863028ae Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 4 Feb 2019 21:29:35 +0000 Subject: (dblfile): only use $ENV{'TMPDIR'} if it is set (and fix unrelated typo); report at https://github.com/TeX-Live/installer/issues/8. git-svn-id: svn://tug.org/texlive/trunk@49932 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Master/install-tl') diff --git a/Master/install-tl b/Master/install-tl index 95356a003fd..249a81bbe83 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -152,8 +152,9 @@ use strict; # debugging communication with external gui: use shared logfile our $dblfile = "/tmp/dblog"; -$dblfile = $ENV{'TEMP'} . "\\dblog.txt" if ($^O=~/^MSWin/i); -$dblfile = $ENV{'TMPDIR'} . "/dblog" if ($^O eq 'darwin'); +$dblfile = $ENV{'TEMP'} . "\\dblog.txt" if ($^O = ~/^MSWin/i); +$dblfile = $ENV{'TMPDIR'} . "/dblog" if ($^O eq 'darwin' + && exists $ENV{'TMPDIR'}); sub dblog { my $s = shift; open(my $dbf, ">>", $dblfile); @@ -2785,7 +2786,7 @@ the current system are present. The installation will continue as usual, but at the end all files from I are copied over to C under your installation directory and this C directory is what will be added to the path for the post-install -actions. To install multiple custom binary sets, manully rename +actions. To install multiple custom binary sets, manually rename C before doing each. For more information on custom binaries, see @@ -3007,7 +3008,7 @@ Enable C<\write18> for a restricted set of programs. B (prefix C) -The definitive list is given in C, in +The definitive list is given in C, in the hash C<%TeXLive::TLConfig::TLPDBOptions>, together with explanations. All items given there I for C can be specified. Here is the current list: -- cgit v1.2.3