Fix endless loop in "expandDoubleQuoted".
Fix an issue with expansion of escaped newlines. Use the currently set mkfile vars as environment vars for the shell command invoked by "expandBackQuoted".
This commit is contained in:
parent
353e1eab5f
commit
a3a923ffe8
3 changed files with 22 additions and 10 deletions
2
parse.go
2
parse.go
|
|
@ -118,7 +118,7 @@ func parsePipeInclude(p *parser, t token) parserStateFun {
|
|||
args[i] = p.tokenbuf[i].val
|
||||
}
|
||||
|
||||
output, success := subprocess("sh", args, "", true)
|
||||
output, success := subprocess("sh", args, nil, "", true)
|
||||
if !success {
|
||||
p.basicErrorAtToken("subprocess include failed", t)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue