summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-12 22:45:16 +0000
committerKarl Berry <karl@freefriends.org>2022-02-12 22:45:16 +0000
commit0ba3387ac7dd45cb91be83b62e18e52a719f8e62 (patch)
tree1e012a6ce4b8eac46282405b0c7cdb0a6a66862f /Master/tlpkg/TeXLive/TLUtils.pm
parent8ad5046e78ac37d11ee2e80eabab5f5c1d3f731a (diff)
(query_ctan_mirror): double-quote the curl arg for Windows.
https://tug.org/pipermail/tex-live/2022-February/047748.html git-svn-id: svn://tug.org/texlive/trunk@61996 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-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 ab27b7281b1..675a5463385 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -4080,7 +4080,7 @@ END_NO_SSL
#
sub query_ctan_mirror_curl {
my $max_trial = 3;
- my $warg = (win32() ? "-w %{url_effective} " : "-w '%{url_effective}' ");
+ my $warg = (win32() ? '-w "%{url_effective}" ' : "-w '%{url_effective}' ");
for (my $i = 1; $i <= $max_trial; $i++) {
# -L -> follow redirects
# -s -> silent