summary refs log tree commit diff stats
path: root/nim/nos.pas
diff options
context:
space:
mode:
authorAndreas Rumpf <andreasrumpf@noname>2009-09-15 23:22:22 +0200
committerAndreas Rumpf <andreasrumpf@noname>2009-09-15 23:22:22 +0200
commit66a7e3d37c0303997a6b1a3b7ec263dfb8c07748 (patch)
tree40ae1ab8aeb9086b7310ea73ab8a2ed6b597f88b /nim/nos.pas
parent300430fbba28b408f7ac86ca46b03d9d50839399 (diff)
downloadNim-66a7e3d37c0303997a6b1a3b7ec263dfb8c07748.tar.gz
added tools and web dirs
Diffstat (limited to 'nim/nos.pas')
-rwxr-xr-x[-rw-r--r--]nim/nos.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/nim/nos.pas b/nim/nos.pas
index 4926c99b0..2edb0864e 100644..100755
--- a/nim/nos.pas
+++ b/nim/nos.pas
@@ -1,7 +1,7 @@
 //
 //
 //           The Nimrod Compiler
-//        (c) Copyright 2008 Andreas Rumpf
+//        (c) Copyright 2009 Andreas Rumpf
 //
 //    See the file "copying.txt", included in this
 //    distribution, for details about the copyright.
@@ -220,7 +220,7 @@ begin
   if (length(result) > 0) and (result[1] <> '/') then begin
     // not an absolute path?
     // iterate over any path in the $PATH environment variable
-    paths := splitSeq(getEnv('PATH'), [':']);
+    paths := split(getEnv('PATH'), [':']);
     for p := 0 to high(paths) do begin
       tail := joinPath(paths[p], result);
       if ExistsFile(tail) then begin result := tail; exit end