diff options
author | Araq <rumpf_a@web.de> | 2012-01-13 21:15:00 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-01-13 21:15:00 +0100 |
commit | 8ed3e295a3eac77ffc6dfc890c5c7721942f9173 (patch) | |
tree | 0caa376a641ad26f1d24eb0f0da271020da494ee /koch.nim | |
parent | 69997af8e9c02f855ce7728a471c2be915e798d6 (diff) | |
download | Nim-8ed3e295a3eac77ffc6dfc890c5c7721942f9173.tar.gz |
niminst: diverse improvements; fixes #80
Diffstat (limited to 'koch.nim')
-rwxr-xr-x | koch.nim | 8 |
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) = |