diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2014-01-18 15:03:06 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2014-01-18 15:03:06 -0800 |
commit | 899d286d2bd26c24fc7fde4ea747b9ad92a3256e (patch) | |
tree | 255b8bb01ecf225796f95232b27ac69d61a10462 | |
parent | 3f8bfb1e988322ab60cc54184d63a00906260665 (diff) | |
parent | fb4a96ff78e85537f248fe96d6508f1dffead297 (diff) | |
download | Nim-899d286d2bd26c24fc7fde4ea747b9ad92a3256e.tar.gz |
Merge pull request #812 from girvo/koch-fix
Koch now uses $PATH/nimrod correctly
-rw-r--r-- | koch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim index 97fcf5b2c..3b13690fa 100644 --- a/koch.nim +++ b/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): |