CI updates
This commit is contained in:
+15
-13
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user