From d3948a3a6dcf467f1201e9aab5211b990e72d8ec Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 17 Jan 2011 14:37:55 -0200 Subject: Have wget be nicer to https URLs. --- src/luarocks/fs/unix/tools.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/luarocks/fs/unix/tools.lua b/src/luarocks/fs/unix/tools.lua index 313f0dd6..b2237b22 100644 --- a/src/luarocks/fs/unix/tools.lua +++ b/src/luarocks/fs/unix/tools.lua @@ -231,7 +231,7 @@ function download(url, filename) assert(type(filename) == "string" or not filename) if cfg.downloader == "wget" then - local wget_cmd = "wget --no-cache --user-agent="..cfg.user_agent.." --quiet --continue " + local wget_cmd = "wget --no-check-certificate --no-cache --user-agent="..cfg.user_agent.." --quiet --continue " if filename then return fs.execute(wget_cmd.." --output-document ", filename, url) else -- cgit v1.2.3-55-g6feb