1
0
mirror of https://github.com/kepler155c/opus synced 2025-04-11 01:56:38 +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 12:22:25 -04:00 committed by GitHub
parent 48f32946ec
commit 1a2ac0a828
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