fixes the new ':test:' feature

This commit is contained in:
Araq
2017-11-28 11:14:43 +01:00
parent 8c634cdb2b
commit 942694d914

View File

@@ -800,7 +800,7 @@ proc commandRstAux(filename, outExt: string) =
# Nim's convention: every path is relative to the file it was written in:
outp = splitFile(d.filename).dir / filename
writeFile(outp, content)
let cmd = cmd % outp
let cmd = unescape(cmd) % quoteShell(outp)
rawMessage(hintExecuting, cmd)
if execShellCmd(cmd) != status:
rawMessage(errExecutionOfProgramFailed, cmd)