diff options
author | Fabio Mascarenhas <mascarenhas@lambda-2.local> | 2010-03-24 09:38:15 -0300 |
---|---|---|
committer | Fabio Mascarenhas <mascarenhas@lambda-2.local> | 2010-03-24 09:38:15 -0300 |
commit | 0c03154d0418145d9f439c92c1047adee7521ceb (patch) | |
tree | 7d49abdc6b2ea4f243923964ef916a13f8df1883 | |
parent | 682838d9e847fabe9f12f9064c3c584f06bacd49 (diff) | |
download | luarocks-0c03154d0418145d9f439c92c1047adee7521ceb.tar.gz luarocks-0c03154d0418145d9f439c92c1047adee7521ceb.tar.bz2 luarocks-0c03154d0418145d9f439c92c1047adee7521ceb.zip |
fixed bug with luarocks pack on windows, was generating 7z archives instead of zip
-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 5a0f41f3..c3b5398e 100644 --- a/src/luarocks/fs/win32/tools.lua +++ b/src/luarocks/fs/win32/tools.lua | |||
@@ -279,7 +279,7 @@ end | |||
279 | -- additional arguments. | 279 | -- additional arguments. |
280 | -- @return boolean: true on success, false on failure. | 280 | -- @return boolean: true on success, false on failure. |
281 | function zip(zipfile, ...) | 281 | function zip(zipfile, ...) |
282 | return fs.execute("7z a", zipfile, ...) | 282 | return fs.execute("7z a -tzip", zipfile, ...) |
283 | end | 283 | end |
284 | 284 | ||
285 | --- Uncompress files from a .zip archive. | 285 | --- Uncompress files from a .zip archive. |