diff options
author | Araq <rumpf_a@web.de> | 2014-09-16 22:49:10 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-09-16 22:49:10 +0200 |
commit | 297647affeca558e19899191089af35ba31db8ac (patch) | |
tree | 44f5305ff22482e05552b3cfe801ad697f36b156 | |
parent | 113a1c450c40478e532b616778b6f2f8377bfd37 (diff) | |
download | Nim-297647affeca558e19899191089af35ba31db8ac.tar.gz |
fixes a recently introduced regression
-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 |