1
0
mirror of https://github.com/kepler155c/opus synced 2025-03-27 19:16:55 +00:00

Fix untar ()

small fix - untar_stream is supposed to be getting the handle, not the filename
This commit is contained in:
Kan18 2020-08-03 22:00:11 -04:00 committed by GitHub
parent 48f32946ec
commit f4494d6103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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