Need to flatten arguments for aliases.

pull/2851/head
nicm 2021-08-18 15:16:33 +00:00
parent 82836c7394
commit 5413a73ded
1 changed files with 1 additions and 0 deletions

View File

@ -834,6 +834,7 @@ cmd_parse_build_commands(struct cmd_parse_commands *cmds,
cmd_parse_free_command(cmd);
continue;
}
cmd_parse_flatten_command(cmd2);
for (i = 1; i < cmd->argc; i++)
cmd_append_argv(&cmd2->argc, &cmd2->argv, cmd->argv[i]);