diff options
Diffstat (limited to 'Master/tlpkg/TeXLive/TLWinGoo.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLWinGoo.pm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Master/tlpkg/TeXLive/TLWinGoo.pm b/Master/tlpkg/TeXLive/TLWinGoo.pm index a922fca9c16..ccf82542717 100644 --- a/Master/tlpkg/TeXLive/TLWinGoo.pm +++ b/Master/tlpkg/TeXLive/TLWinGoo.pm @@ -336,11 +336,7 @@ from C<%ENV>. =cut -if ($is_win) { - $global_tmp = expand_string(get_system_env()->{'TEMP'}) if $is_win; -} - -my $global_tmp = "/tmp"; +my $global_tmp = $is_win ? expand_string(get_system_env()->{'TEMP'}) : "/tmp"; sub global_tmpdir { return $global_tmp; } |