Koch now uses PATH/nimrod correctly
This commit is contained in:
parent
fba0f33f1b
commit
fb4a96ff78
1 changed files with 1 additions and 1 deletions
2
koch.nim
2
koch.nim
|
|
@ -111,7 +111,7 @@ proc findStartNimrod: string =
|
|||
result = "bin" / nimrod
|
||||
if ExistsFile(result): return
|
||||
for dir in split(getEnv("PATH"), PathSep):
|
||||
if ExistsFile(dir / nimrod): return nimrod
|
||||
if ExistsFile(dir / nimrod): return dir / nimrod
|
||||
when defined(Posix):
|
||||
const buildScript = "build.sh"
|
||||
if ExistsFile(buildScript):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue