Skip to content

Commit 7268f15

Browse files
committed
Added extracting message to the UNZIP.LUA script.
1 parent bfaf54f commit 7268f15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/UNZIP.LUA

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ local function unzip(path)
276276
-- os = The output stream
277277
local cd, os = data:sub(st, st + cs - 1)
278278

279+
print("Extracting: " .. fn)
280+
279281
if cm == 0 then
280282
os = cd
281283
elseif cm == 8 then
@@ -294,8 +296,6 @@ local function unzip(path)
294296

295297
if cr ~= c then
296298
io.stderr:write(string.format("CRC mismatch for %s: expected %08x, got %08x\n", fn, cr, c))
297-
else
298-
print(string.format("CRC OK: %08x", c))
299299
end
300300

301301
-- d = directory

0 commit comments

Comments
 (0)