mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
Use findNim() in koch temp() (#6592)
This commit is contained in:
committed by
Andreas Rumpf
parent
2ca7b703fb
commit
49c6dbf4ab
3
koch.nim
3
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user