summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-07 22:03:03 +0000
committerKarl Berry <karl@freefriends.org>2021-05-07 22:03:03 +0000
commit79578b148ba1f439c5e8bc6cabb452f907403291 (patch)
tree345ceee9c19b8d250433b67297b7d51b49bf4c40 /Master/tlpkg
parent10d4cc79c4cf027bcd8487e008587c3bf90791b9 (diff)
(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
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
1 files changed, 1 insertions, 1 deletions
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;