Preserve command group when moving temporary list to current list being

buit.
This commit is contained in:
nicm
2021-08-21 14:06:17 +00:00
parent 110ba767e5
commit c286fbdcd7
3 changed files with 14 additions and 2 deletions

View File

@ -871,7 +871,7 @@ cmd_parse_build_commands(struct cmd_parse_commands *cmds,
cmd_list_free(current);
return;
}
cmd_list_move(current, add);
cmd_list_append_all(current, add);
cmd_list_free(add);
}
if (current != NULL) {