summary refs log tree commit diff stats
path: root/nim/nimrod.pas
diff options
context:
space:
mode:
authorrumpf_a@web.de <>2009-10-27 22:28:02 +0100
committerrumpf_a@web.de <>2009-10-27 22:28:02 +0100
commitd5acb88cccecf54bcc9a7c13f4fbaa095a8b37d4 (patch)
treeda88c98e8bd063f7991d2e2cba5797351d301eba /nim/nimrod.pas
parent053309e60aee1eda594a4817ac8ac2fb8c18fb04 (diff)
downloadNim-d5acb88cccecf54bcc9a7c13f4fbaa095a8b37d4.tar.gz
bugfixes: macros; splitFile; strutils.split; iterator.method
Diffstat (limited to 'nim/nimrod.pas')
-rwxr-xr-xnim/nimrod.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/nim/nimrod.pas b/nim/nimrod.pas
index b3247bff0..8d7db04b2 100755
--- a/nim/nimrod.pas
+++ b/nim/nimrod.pas
@@ -84,7 +84,7 @@ begin
     command := '';
     filename := '';
     ProcessCmdLine(passCmd1, command, filename);
-    if filename <> '' then options.projectPath := extractDir(filename);
+    if filename <> '' then options.projectPath := splitFile(filename).dir;
     nimconf.LoadConfig(filename); // load the right config file
     // now process command line arguments again, because some options in the
     // command line can overwite the config file's settings