summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJosh Girvin <josh@jgirvin.com>2014-01-13 02:43:50 +1000
committerJosh Girvin <josh@jgirvin.com>2014-01-13 02:45:35 +1000
commitfb4a96ff78e85537f248fe96d6508f1dffead297 (patch)
treee6e38c242d2496a17eb140d8eacd4a63767b7307
parentfba0f33f1b0885023a4113641ce703a9ce6e477f (diff)
downloadNim-fb4a96ff78e85537f248fe96d6508f1dffead297.tar.gz
Koch now uses PATH/nimrod correctly
-rw-r--r--koch.nim2
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):