summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-13 21:15:00 +0100
committerAraq <rumpf_a@web.de>2012-01-13 21:15:00 +0100
commit8ed3e295a3eac77ffc6dfc890c5c7721942f9173 (patch)
tree0caa376a641ad26f1d24eb0f0da271020da494ee /koch.nim
parent69997af8e9c02f855ce7728a471c2be915e798d6 (diff)
downloadNim-8ed3e295a3eac77ffc6dfc890c5c7721942f9173.tar.gz
niminst: diverse improvements; fixes #80
Diffstat (limited to 'koch.nim')
-rwxr-xr-xkoch.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/koch.nim b/koch.nim
index aed49c8d9..907db46c9 100755
--- a/koch.nim
+++ b/koch.nim
@@ -62,11 +62,11 @@ proc tryExec(cmd: string): bool =
   result = execShellCmd(cmd) == 0
 
 proc csource(args: string) = 
-  exec("nimrod cc $1 -r tools/niminst --var:version=$2 csource compiler/nimrod.ini $1" %
+  exec("nimrod cc $1 -r tools/niminst/niminst --var:version=$2 csource compiler/nimrod.ini $1" %
        [args, NimrodVersion])
 
 proc zip(args: string) = 
-  exec("nimrod cc -r tools/niminst --var:version=$# zip compiler/nimrod.ini" %
+  exec("nimrod cc -r tools/niminst/niminst --var:version=$# zip compiler/nimrod.ini" %
        NimrodVersion)
   
 proc buildTool(toolname, args: string) = 
@@ -75,9 +75,9 @@ proc buildTool(toolname, args: string) =
 
 proc inno(args: string) =
   # make sure we have generated the c2nim and niminst executables:
-  buildTool("tools/niminst", args)
+  buildTool("tools/niminst/niminst", args)
   buildTool("compiler/c2nim/c2nim", args)
-  exec("tools" / "niminst --var:version=$# inno compiler/nimrod" % 
+  exec("tools" / "niminst" / "niminst --var:version=$# inno compiler/nimrod" % 
        NimrodVersion)
 
 proc install(args: string) = 
id='n178' href='#n178'>178 179 180 181