mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
Koch now uses PATH/nimrod correctly
This commit is contained in:
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):
|
||||
|
||||
Reference in New Issue
Block a user