diff options
Diffstat (limited to 'src')
| -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 2e46c19b..959ee86e 100644 --- a/src/luarocks/fs/unix/tools.lua +++ b/src/luarocks/fs/unix/tools.lua | |||
| @@ -141,7 +141,7 @@ end | |||
| 141 | -- @return boolean: true on success, nil and error message on failure. | 141 | -- @return boolean: true on success, nil and error message on failure. |
| 142 | function tools.unzip(zipfile) | 142 | function tools.unzip(zipfile) |
| 143 | assert(zipfile) | 143 | assert(zipfile) |
| 144 | local ok, err = fs.is_tool_available(vars.UNZIP, "unzip", "-h") | 144 | local ok, err = fs.is_tool_available(vars.UNZIP, "unzip", "--help") |
| 145 | if not ok then | 145 | if not ok then |
| 146 | return nil, err | 146 | return nil, err |
| 147 | end | 147 | end |
