diff options
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 |