Changeset View
Changeset View
Standalone View
Standalone View
lua-luarocks/files/patch-src_luarocks_fs_unix_tools.lua
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
- Remove use of unsupported unzip option to check for existance of unzip. | |||||
--- src/luarocks/fs/unix/tools.lua.orig 2019-01-29 05:05:00 UTC | |||||
+++ src/luarocks/fs/unix/tools.lua | |||||
@@ -141,10 +141,6 @@ end | |||||
-- @return boolean: true on success, nil and error message on failure. | |||||
function tools.unzip(zipfile) | |||||
assert(zipfile) | |||||
- local ok, err = fs.is_tool_available(vars.UNZIP, "unzip", "-h") | |||||
- if not ok then | |||||
- return nil, err | |||||
- end | |||||
if fs.execute_quiet(vars.UNZIP, zipfile) then | |||||
return true | |||||
else |