diff options
-rw-r--r-- | Master/tlpkg/TeXLive/TLPDB.pm | 4 |
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; |