diff options
author | rumpf_a@web.de <> | 2009-10-27 22:28:02 +0100 |
---|---|---|
committer | rumpf_a@web.de <> | 2009-10-27 22:28:02 +0100 |
commit | d5acb88cccecf54bcc9a7c13f4fbaa095a8b37d4 (patch) | |
tree | da88c98e8bd063f7991d2e2cba5797351d301eba /nim/nimrod.pas | |
parent | 053309e60aee1eda594a4817ac8ac2fb8c18fb04 (diff) | |
download | Nim-d5acb88cccecf54bcc9a7c13f4fbaa095a8b37d4.tar.gz |
bugfixes: macros; splitFile; strutils.split; iterator.method
Diffstat (limited to 'nim/nimrod.pas')
-rwxr-xr-x | nim/nimrod.pas | 2 |
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 |