Fixes #125
This commit is contained in:
parent
ffbd5f5b3e
commit
2ed09847f2
1 changed files with 5 additions and 5 deletions
|
|
@ -36,8 +36,8 @@ template cd*(dir: string, body: stmt) =
|
|||
|
||||
proc getNimBin*: string =
|
||||
result = "nim"
|
||||
if findExe("nim") != "": result = "nim"
|
||||
elif findExe("nimrod") != "": result = "nimrod"
|
||||
if findExe("nim") != "": result = findExe("nim")
|
||||
elif findExe("nimrod") != "": result = findExe("nimrod")
|
||||
|
||||
proc getNimrodVersion*: Version =
|
||||
let nimBin = getNimBin()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue