diff options
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-x | compiler/nimrod.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim index 3a910cfad..a28f8a965 100755 --- a/compiler/nimrod.nim +++ b/compiler/nimrod.nim @@ -66,7 +66,8 @@ proc HandleCmdLine() = var filename = "" ProcessCmdLine(passCmd1, command, filename) if filename != "": - var p = splitFile(filename) + var fullPath = expandFilename(filename) + var p = splitFile(fullPath) options.projectPath = p.dir options.projectName = p.name nimconf.LoadConfig(filename) # load the right config file |