summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2018-06-26 21:03:56 +0000
committerNorbert Preining <preining@logic.at>2018-06-26 21:03:56 +0000
commita781f9769e9b30ef860595d168a44217c2c57734 (patch)
treef15f941c281d0c21cc57931c3048e45d85e3ce22
parentd20548087f4b3f821726e5ea2ae506b134fcbdfe (diff)
make curl downloader follow redirects like lwp
git-svn-id: svn://tug.org/texlive/trunk@48093 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLConfig.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm
index c7b8e39cee4..22ac1067f0c 100644
--- a/Master/tlpkg/TeXLive/TLConfig.pm
+++ b/Master/tlpkg/TeXLive/TLConfig.pm
@@ -116,7 +116,7 @@ our $DefaultFallbackDownloader = "wget";
our @AcceptedFallbackDownloaders = qw/curl wget/;
our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl');
our %FallbackDownloaderArgs = (
- 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--fail',
+ 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--fail', '--location',
'--connect-timeout', "$NetworkTimeout", '--silent', '--output'],
'wget' => ['--user-agent=texlive/wget', '--tries=10',
"--timeout=$NetworkTimeout", '-q', '-O'],