fixes a koch regression that made 'koch boot --listcmd' not work anymore [backport] (#12400)

This commit is contained in:
Andreas Rumpf
2019-10-10 11:56:01 +02:00
committed by GitHub
parent 7f904e2c66
commit d783c0f7ff

View File

@@ -320,8 +320,8 @@ proc boot(args: string) =
# jsonbuild then uses the $project.json file to build the Nim binary.
exec "$# $# $# $# --nimcache:$# --compileOnly compiler" / "nim.nim" %
[nimi, bootOptions, extraOption, args, smartNimcache]
exec "$# jsonscript --nimcache:$# compiler" / "nim.nim" %
[nimi, smartNimcache]
exec "$# jsonscript $# --nimcache:$# compiler" / "nim.nim" %
[nimi, args, smartNimcache]
if sameFileContent(output, i.thVersion):
copyExe(output, finalDest)