texlive[59126] Master/tlpkg/TeXLive/TLUtils.pm: (download_file): also

commits+karl at tug.org commits+karl at tug.org
Sat May 8 00:03:03 CEST 2021


Revision: 59126
          http://tug.org/svn/texlive?view=revision&revision=59126
Author:   karl
Date:     2021-05-08 00:03:03 +0200 (Sat, 08 May 2021)
Log Message:
-----------
(download_file): also -L to dereference symlink,
in case. Mail from Vincenzo Luca Mantova, 7 May
2021 21:22:26.

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

Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm	2021-05-07 20:50:47 UTC (rev 59125)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm	2021-05-07 22:03:03 UTC (rev 59126)
@@ -2750,7 +2750,7 @@
       return \*RETFH;
     } else {
       if (-r $filetoopen) {
-        copy ("-f", $filetoopen, $dest);
+        copy ("-f", "-L" $filetoopen, $dest);
         return 1;
       }
       return 0;



More information about the tex-live-commits mailing list.