summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-10-10 11:56:01 +0200
committerGitHub <noreply@github.com>2019-10-10 11:56:01 +0200
commitd783c0f7ff51e85d85bb7c85d2d2c9556cfcbe60 (patch)
treee3af3bce42280b5eaa392d940043e00c76caf4f1 /koch.nim
parent7f904e2c663163e327cbe784a982ac2af8bbd6f3 (diff)
downloadNim-d783c0f7ff51e85d85bb7c85d2d2c9556cfcbe60.tar.gz
fixes a koch regression that made 'koch boot --listcmd' not work anymore [backport] (#12400)
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim
index 083394e00..a0a7dd903 100644
--- a/koch.nim
+++ b/koch.nim
@@ -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)