summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2011-08-17 13:21:54 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2011-08-17 13:21:54 +0000
commit060974cb5cf7bd1dca3ff6f3490b09126d1de495 (patch)
tree92582ec6006b9cb8d54a0ff08b0b86f8c2fd6c8d /Master/tlpkg/TeXLive
parent941d6df29b35760fdd4ec53342a7c08e881f0ddb (diff)
untar w/o time stamp extraction on w32 (problems with AV soft)
git-svn-id: svn://tug.org/texlive/trunk@23587 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index b29368b168a..501dd6cb1d3 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -2095,7 +2095,9 @@ sub untar {
my $cwd = cwd();
chdir($targetdir) || die "chdir($targetdir) failed: $!";
- if (system($tar, "xf", $tarfile) != 0) {
+ # on w32 don't extract file modified time, because AV soft can open
+ # files in the mean time causing time stamp modification to fail
+ if (system($tar, win32() ? "xmf" : "xf", $tarfile) != 0) {
tlwarn("untar: untarring $tarfile failed (in $targetdir)\n");
$ret = 0;
} else {