fixed incorrect debashified echo in combined string and variable
This commit is contained in:
parent
0e6fc1262d
commit
8c3d693182
1 changed files with 2 additions and 1 deletions
|
|
@ -255,7 +255,8 @@ bool debashify_echo(pipeline* pl)
|
||||||
in->args->args[0] = new arg("printf");
|
in->args->args[0] = new arg("printf");
|
||||||
|
|
||||||
lst = new list;
|
lst = new list;
|
||||||
lst->add(new condlist(make_cmd({new arg("printf"), new arg(format_str+"\\ "), arg1 })));
|
lst->add(new condlist(make_cmd({new arg("printf"), new arg(format_str), arg1 })));
|
||||||
|
in->args->insert(1, new arg("\\ "+format_str) );
|
||||||
lst->add(new condlist(in));
|
lst->add(new condlist(in));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue