Merge pull request #812 from girvo/koch-fix

Koch now uses $PATH/nimrod correctly
This commit is contained in:
Andreas Rumpf
2014-01-18 15:03:06 -08:00

View File

@@ -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):