diff options
author | Norbert Preining <preining@logic.at> | 2016-05-16 00:33:33 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2016-05-16 00:33:33 +0000 |
commit | b4bd155553e61ae082569f8d671a9f740d044634 (patch) | |
tree | 49650c4d9248e8255ecfe30a914ce03b1fd809e1 /Master/tlpkg/TeXLive/TLPOBJ.pm | |
parent | fede31c23a0035aa8b5e5fea4e35d696b319240b (diff) |
tmp file rewrite
use one global tmp dir created with File::Temp and which will
be auto-removed. ALl other temp files and dirs are created
within this directory.
git-svn-id: svn://tug.org/texlive/trunk@41175 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPOBJ.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPOBJ.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm index e569b15455c..e4c260e31d5 100644 --- a/Master/tlpkg/TeXLive/TLPOBJ.pm +++ b/Master/tlpkg/TeXLive/TLPOBJ.pm @@ -625,7 +625,7 @@ sub make_container { my $tartempfile = ""; if (win32()) { # Since we provide our own (GNU) tar on Windows, we know it has -T. - my $tmpdir = TeXLive::TLUtils::get_system_tmpdir(); + my $tmpdir = TeXLive::TLUtils::tl_tmpdir(); $tartempfile = "$tmpdir/mc$$"; open(TMP, ">$tartempfile") || die "open(>$tartempfile) failed: $!"; print TMP map { "$_\n" } @files_to_backup; |