summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-09-12 21:38:54 +0000
committerNorbert Preining <preining@logic.at>2008-09-12 21:38:54 +0000
commita87a34f25cc45043e90f1b2ed0bf81497e172177 (patch)
treed96697bd301ee942a88d2e4c0252295874ddd4c4
parentb3429a0ced376a6842322dae0084ef2565ec31c4 (diff)
Add $$ to the temp files when downloading TLPDB
git-svn-id: svn://tug.org/texlive/trunk@10580 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 55faf348cf1..27685233428 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -213,11 +213,11 @@ sub from_file {
# we first try the lzma compressed file
my $tmpdir = TeXLive::TLUtils::get_system_tmpdir();
my $bn = TeXLive::TLUtils::basename("$path");
- my $lzmafile = "$tmpdir/$bn.lzma";
+ my $lzmafile = "$tmpdir/$bn.$$.lzma";
my $lzmafile_quote = $lzmafile;
# this is a variable of the whole sub as we have to remove the file
# before returning
- $tlpdbfile = "$tmpdir/$bn";
+ $tlpdbfile = "$tmpdir/$bn.$$";
my $tlpdbfile_quote = $tlpdbfile;
if (win32()) {
$lzmafile =~ s!/!\\!g;