summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-09-16 22:49:10 +0200
committerAraq <rumpf_a@web.de>2014-09-16 22:49:10 +0200
commit297647affeca558e19899191089af35ba31db8ac (patch)
tree44f5305ff22482e05552b3cfe801ad697f36b156
parent113a1c450c40478e532b616778b6f2f8377bfd37 (diff)
downloadNim-297647affeca558e19899191089af35ba31db8ac.tar.gz
fixes a recently introduced regression
-rw-r--r--compiler/options.nim5
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