Merge pull request #812 from girvo/koch-fix
Koch now uses $PATH/nimrod correctly
This commit is contained in:
commit
899d286d2b
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