From 79578b148ba1f439c5e8bc6cabb452f907403291 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 7 May 2021 22:03:03 +0000 Subject: (download_file): also -L to dereference symlink, in case. Mail from Vincenzo Luca Mantova, 7 May 2021 21:22:26. git-svn-id: svn://tug.org/texlive/trunk@59126 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index f2c9830fb72..1c4d7ce8698 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -2750,7 +2750,7 @@ sub download_file { return \*RETFH; } else { if (-r $filetoopen) { - copy ("-f", $filetoopen, $dest); + copy ("-f", "-L" $filetoopen, $dest); return 1; } return 0; -- cgit v1.2.3