Use findNim() in koch temp() (#6592)
This commit is contained in:
parent
2ca7b703fb
commit
49c6dbf4ab
1 changed files with 2 additions and 1 deletions
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
|
# 125 is the magic number to tell git bisect to skip the current
|
||||||
# commit.
|
# commit.
|
||||||
let (bootArgs, programArgs) = splitArgs(args)
|
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)
|
copyExe(output, finalDest)
|
||||||
if programArgs.len > 0: exec(finalDest & " " & programArgs)
|
if programArgs.len > 0: exec(finalDest & " " & programArgs)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue