fixes the new ':test:' feature
This commit is contained in:
parent
8c634cdb2b
commit
942694d914
1 changed files with 1 additions and 1 deletions
|
|
@ -800,7 +800,7 @@ proc commandRstAux(filename, outExt: string) =
|
||||||
# Nim's convention: every path is relative to the file it was written in:
|
# Nim's convention: every path is relative to the file it was written in:
|
||||||
outp = splitFile(d.filename).dir / filename
|
outp = splitFile(d.filename).dir / filename
|
||||||
writeFile(outp, content)
|
writeFile(outp, content)
|
||||||
let cmd = cmd % outp
|
let cmd = unescape(cmd) % quoteShell(outp)
|
||||||
rawMessage(hintExecuting, cmd)
|
rawMessage(hintExecuting, cmd)
|
||||||
if execShellCmd(cmd) != status:
|
if execShellCmd(cmd) != status:
|
||||||
rawMessage(errExecutionOfProgramFailed, cmd)
|
rawMessage(errExecutionOfProgramFailed, cmd)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue