mirror of
https://github.com/kepler155c/opus
synced 2025-03-27 19:16:55 +00:00
Fix untar (#42)
small fix - untar_stream is supposed to be getting the handle, not the filename
This commit is contained in:
parent
48f32946ec
commit
f4494d6103
@ -181,7 +181,7 @@ local function untar(filename, destdir, verbose)
|
||||
local tar_handle = io.open(filename, "rb")
|
||||
if not tar_handle then return nil, "Error opening file "..filename end
|
||||
|
||||
local ok, err = untar_stream(filename, destdir, verbose)
|
||||
local ok, err = untar_stream(tar_handle, destdir, verbose)
|
||||
|
||||
tar_handle:close()
|
||||
return ok, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user