diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-15 17:35:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-15 17:35:07 +0000 |
commit | 2b322517d2f5ebd65667a38d25857cf53e09010c (patch) | |
tree | ed6279f633e2cd0f45899eaf080470c97c4db5ab /Master/tlpkg/TeXLive/TLWinGoo.pm | |
parent | 3a6264f044b1f183cbafb10cf9c87d4cd27c89ec (diff) |
trivial perl var warnings
git-svn-id: svn://tug.org/texlive/trunk@34044 c570f23f-e606-0410-a88d-b1316a301751
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; } |