docutils: make ':test:' work without argument
This commit is contained in:
parent
efae366857
commit
ed9c28484a
2 changed files with 7 additions and 4 deletions
|
|
@ -816,7 +816,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 = unescape(cmd) % quoteShell(outp)
|
||||
let cmd = cmd % quoteShell(outp)
|
||||
rawMessage(hintExecuting, cmd)
|
||||
if execShellCmd(cmd) != status:
|
||||
rawMessage(errExecutionOfProgramFailed, cmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue