From 49c6dbf4ab3e60a0e850ac876e54c0c6bc07de89 Mon Sep 17 00:00:00 2001 From: Stefan Rakel Date: Wed, 25 Oct 2017 14:20:25 +0200 Subject: Use findNim() in koch temp() (#6592) --- koch.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'koch.nim') 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) -- cgit 1.4.1-2-gfad0