texlive[49173] Master/tlpkg/TeXLive/TLUtils.pm: (untar): be specific
commits+karl at tug.org
commits+karl at tug.org
Fri Nov 16 23:19:58 CET 2018
Revision: 49173
http://tug.org/svn/texlive?view=revision&revision=49173
Author: karl
Date: 2018-11-16 23:19:58 +0100 (Fri, 16 Nov 2018)
Log Message:
-----------
(untar): be specific about the command that failed.
Modified Paths:
--------------
trunk/Master/tlpkg/TeXLive/TLUtils.pm
Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm 2018-11-16 21:59:28 UTC (rev 49172)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm 2018-11-16 22:19:58 UTC (rev 49173)
@@ -2267,8 +2267,9 @@
# 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");
+ my $taropt = win32() ? "xmf" : "xf";
+ if (system($tar, $taropt, $tarfile) != 0) {
+ tlwarn("TLUtils::untar: $tar $taropt $tarfile failed (in $targetdir)\n");
$ret = 0;
} else {
$ret = 1;
More information about the tex-live-commits
mailing list