diff options
author | Stefan Rakel <ibutra@users.noreply.github.com> | 2017-10-25 14:20:25 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-10-25 14:20:25 +0200 |
commit | 49c6dbf4ab3e60a0e850ac876e54c0c6bc07de89 (patch) | |
tree | 1b020b5edc7726d8d638ab3c28b78f8baeb0cf2c /koch.nim | |
parent | 2ca7b703fbc61b2e5399bdc1eb577a8948ae1cb9 (diff) | |
download | Nim-49c6dbf4ab3e60a0e850ac876e54c0c6bc07de89.tar.gz |
Use findNim() in koch temp() (#6592)
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim index 6b267ce46..b79e202b2 100644 --- a/koch.nim +++ b/koch.nim @@ -472,7 +472,8 @@ proc temp(args: string) = # 125 is the magic number to tell git bisect to skip the current # commit. let (bootArgs, programArgs) = splitArgs(args) - exec("nim c " & bootArgs & " compiler" / "nim", 125) + let nimexec = findNim() + exec(nimexec & " c " & bootArgs & " compiler" / "nim", 125) copyExe(output, finalDest) if programArgs.len > 0: exec(finalDest & " " & programArgs) |