diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/fs/win32/tools.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua index e906b4a1..44d5e080 100644 --- a/src/luarocks/fs/win32/tools.lua +++ b/src/luarocks/fs/win32/tools.lua | |||
@@ -272,7 +272,7 @@ function tools.use_downloader(url, filename, cache) | |||
272 | ok = fs.execute_quiet(wget_cmd, url) | 272 | ok = fs.execute_quiet(wget_cmd, url) |
273 | end | 273 | end |
274 | elseif cfg.downloader == "curl" then | 274 | elseif cfg.downloader == "curl" then |
275 | local curl_cmd = vars.CURL).." "..vars.CURLNOCERTFLAG.." -f -L --user-agent \""..cfg.user_agent.." via curl\" " | 275 | local curl_cmd = fs.Q(vars.CURL).." "..vars.CURLNOCERTFLAG.." -f -L --user-agent \""..cfg.user_agent.." via curl\" " |
276 | if cfg.connection_timeout and cfg.connection_timeout > 0 then | 276 | if cfg.connection_timeout and cfg.connection_timeout > 0 then |
277 | curl_cmd = curl_cmd .. "--connect-timeout "..tonumber(cfg.connection_timeout).." " | 277 | curl_cmd = curl_cmd .. "--connect-timeout "..tonumber(cfg.connection_timeout).." " |
278 | end | 278 | end |