diff options
-rw-r--r-- | src/luarocks/tools/zip.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/tools/zip.lua b/src/luarocks/tools/zip.lua index 3afec53b..36adc7e2 100644 --- a/src/luarocks/tools/zip.lua +++ b/src/luarocks/tools/zip.lua | |||
@@ -188,7 +188,7 @@ function new_zipwriter(name) | |||
188 | 188 | ||
189 | local zw = {} | 189 | local zw = {} |
190 | 190 | ||
191 | zw.ziphandle = io.open(name, "w") | 191 | zw.ziphandle = io.open(name, "wb") |
192 | if not zw.ziphandle then | 192 | if not zw.ziphandle then |
193 | return nil | 193 | return nil |
194 | end | 194 | end |