diff options
author | Josh Girvin <josh@jgirvin.com> | 2014-01-13 02:43:50 +1000 |
---|---|---|
committer | Josh Girvin <josh@jgirvin.com> | 2014-01-13 02:45:35 +1000 |
commit | fb4a96ff78e85537f248fe96d6508f1dffead297 (patch) | |
tree | e6e38c242d2496a17eb140d8eacd4a63767b7307 | |
parent | fba0f33f1b0885023a4113641ce703a9ce6e477f (diff) | |
download | Nim-fb4a96ff78e85537f248fe96d6508f1dffead297.tar.gz |
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): |