texlive[50091] Master/tlpkg/TeXLive/TLPDB.pm: (save): do not check

commits+karl at tug.org commits+karl at tug.org
Sat Feb 23 00:28:14 CET 2019


Revision: 50091
          http://tug.org/svn/texlive?view=revision&revision=50091
Author:   karl
Date:     2019-02-23 00:28:13 +0100 (Sat, 23 Feb 2019)
Log Message:
-----------
(save): do not check return value of
TLUtils::copy, it does not return anything
(instead, it dies on critical failure). 
https://github.com/yihui/tinytex/issues/77#issuecomment-466471937

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLPDB.pm

Modified: trunk/Master/tlpkg/TeXLive/TLPDB.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPDB.pm	2019-02-22 23:18:23 UTC (rev 50090)
+++ trunk/Master/tlpkg/TeXLive/TLPDB.pm	2019-02-22 23:28:13 UTC (rev 50091)
@@ -627,7 +627,7 @@
   # on Windows the renaming sometimes fails, try to copy and unlink the
   # .tmp file. This we do for all archs, cannot hurt.
   # if we managed that one, we move it over
-  TeXLive::TLUtils::copy ("-f", $tmppath, $path) or die ("copy $tmppath to $path failed: $!");
+  TeXLive::TLUtils::copy ("-f", $tmppath, $path);
   unlink ($tmppath) or tlwarn ("TLPDB: cannot unlink $tmppath: $!\n");
 }
 



More information about the tex-live-commits mailing list