CI updates

This commit is contained in:
Markus F.X.J. Oberhumer
2025-09-18 12:03:48 +02:00
parent 3b71139426
commit 466ceb4a1f
5 changed files with 44 additions and 39 deletions
+15 -13
View File
@@ -329,19 +329,21 @@ void do_one_file(const char *const iname, char *const oname) may_throw {
}
// handle command - actual work starts HERE
PackMaster pm(&fi, opt);
if (opt->cmd == CMD_COMPRESS)
pm.pack(&fo);
else if (opt->cmd == CMD_DECOMPRESS)
pm.unpack(&fo);
else if (opt->cmd == CMD_TEST)
pm.test();
else if (opt->cmd == CMD_LIST)
pm.list();
else if (opt->cmd == CMD_FILEINFO)
pm.fileInfo();
else
throwInternalError("invalid command");
{
PackMaster pm(&fi, opt);
if (opt->cmd == CMD_COMPRESS)
pm.pack(&fo);
else if (opt->cmd == CMD_DECOMPRESS)
pm.unpack(&fo);
else if (opt->cmd == CMD_TEST)
pm.test();
else if (opt->cmd == CMD_LIST)
pm.list();
else if (opt->cmd == CMD_FILEINFO)
pm.fileInfo();
else
throwInternalError("invalid command");
}
// copy time stamp
if (oname[0] && opt->preserve_timestamp && fo.isOpen())