diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2011-01-17 14:37:55 -0200 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-01-17 14:37:55 -0200 |
| commit | d3948a3a6dcf467f1201e9aab5211b990e72d8ec (patch) | |
| tree | 97879b48e3ad7d66fecd1e7445458754e18b5a8f | |
| parent | 1b918fa033b6522bc41b63ef395c331a3e984c6b (diff) | |
| download | luarocks-d3948a3a6dcf467f1201e9aab5211b990e72d8ec.tar.gz luarocks-d3948a3a6dcf467f1201e9aab5211b990e72d8ec.tar.bz2 luarocks-d3948a3a6dcf467f1201e9aab5211b990e72d8ec.zip | |
Have wget be nicer to https URLs.
| -rw-r--r-- | src/luarocks/fs/unix/tools.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 231 | assert(type(filename) == "string" or not filename) | 231 | assert(type(filename) == "string" or not filename) |
| 232 | 232 | ||
| 233 | if cfg.downloader == "wget" then | 233 | if cfg.downloader == "wget" then |
| 234 | local wget_cmd = "wget --no-cache --user-agent="..cfg.user_agent.." --quiet --continue " | 234 | local wget_cmd = "wget --no-check-certificate --no-cache --user-agent="..cfg.user_agent.." --quiet --continue " |
| 235 | if filename then | 235 | if filename then |
| 236 | return fs.execute(wget_cmd.." --output-document ", filename, url) | 236 | return fs.execute(wget_cmd.." --output-document ", filename, url) |
| 237 | else | 237 | else |
