diff options
-rw-r--r-- | compiler/options.nim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index 9d7df2f2b..838f99f8e 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -188,9 +188,8 @@ proc getPrefixDir*(): string = result = splitPath(getAppDir()).head proc canonicalizePath*(path: string): string = - #result = path.expandFilename - when not FileSystemCaseSensitive: result = path.toLower - else: result = path + when not FileSystemCaseSensitive: result = path.expandFilename.toLower + else: result = path.expandFilename proc shortenDir*(dir: string): string = ## returns the interesting part of a dir |