fix debashify echo on expandable args
This commit is contained in:
parent
f9a3efce9a
commit
f4d417406b
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ 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 })));
|
||||||
lst->add(new condlist(in));
|
lst->add(new condlist(in));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue