texlive[59259] Master/tlpkg/TeXLive/TLUtils.pm: prepend
commits+karl at tug.org
commits+karl at tug.org
Tue May 18 23:39:53 CEST 2021
Revision: 59259
http://tug.org/svn/texlive?view=revision&revision=59259
Author: karl
Date: 2021-05-18 23:39:53 +0200 (Tue, 18 May 2021)
Log Message:
-----------
prepend --no-check-certificate to arg list, not
append, since list ends with -O. oops.
Modified Paths:
--------------
trunk/Master/tlpkg/TeXLive/TLUtils.pm
Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm 2021-05-18 20:16:51 UTC (rev 59258)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm 2021-05-18 21:39:53 UTC (rev 59259)
@@ -2592,7 +2592,9 @@
if (grep(/\+ssl/, @lines)) {
$::progs{'options'}{'wget-ssl'} = 1;
my @wgetargs = @{$TeXLive::TLConfig::FallbackDownloaderArgs{'wget'}};
- push @wgetargs, '--no-check-certificate';
+ # can't push new arg at end of list because builtin list ends with
+ # -O to set the output file.
+ unshift (@wgetargs, '--no-check-certificate');
$TeXLive::TLConfig::FallbackDownloaderArgs{'wget'} = \@wgetargs;
debug("TLUtils::setup_programs: wget has ssl, final wget args: @{$TeXLive::TLConfig::FallbackDownloaderArgs{'wget'}}\n");
} else {
More information about the tex-live-commits
mailing list.