texlive[47999] Master/tlpkg/TeXLive/TLConfig.pm: add --fail to curl

commits+preining at tug.org commits+preining at tug.org
Wed Jun 13 11:49:28 CEST 2018


Revision: 47999
          http://tug.org/svn/texlive?view=revision&revision=47999
Author:   preining
Date:     2018-06-13 11:49:28 +0200 (Wed, 13 Jun 2018)
Log Message:
-----------
add --fail to curl invocation, otherwise it always returns 0 (sic!)

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

Modified: trunk/Master/tlpkg/TeXLive/TLConfig.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLConfig.pm	2018-06-13 00:18:04 UTC (rev 47998)
+++ trunk/Master/tlpkg/TeXLive/TLConfig.pm	2018-06-13 09:49:28 UTC (rev 47999)
@@ -116,7 +116,7 @@
 our @AcceptedFallbackDownloaders = qw/curl wget/;
 our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl');
 our %FallbackDownloaderArgs = (
-  'curl' => ['--user-agent', 'texlive/curl', '--retry', '10',
+  'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--fail',
              '--connect-timeout', "$NetworkTimeout", '--silent', '--output'],
   'wget' => ['--user-agent=texlive/wget', '--tries=10',
              "--timeout=$NetworkTimeout", '-q', '-O'],



More information about the tex-live-commits mailing list