diff options
author | Dominik Picheta <dominikpicheta@gmail.com> | 2017-01-06 15:02:09 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@gmail.com> | 2017-01-06 15:02:09 +0000 |
commit | 76bc890e36c23a6cf5ae8725fcde08fe4324d7d5 (patch) | |
tree | 7b91492113c289619f4a71c3f803f26209c906b8 /lib | |
parent | 36964d7491070e0acfb28f127971ad6caddbab66 (diff) | |
download | Nim-76bc890e36c23a6cf5ae8725fcde08fe4324d7d5.tar.gz |
Fixes bootstrapping.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/ospaths.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/ospaths.nim b/lib/pure/ospaths.nim index 89dc944d0..9f8d9aab3 100644 --- a/lib/pure/ospaths.nim +++ b/lib/pure/ospaths.nim @@ -588,7 +588,7 @@ when declared(getEnv) or defined(nimscript): else: var x = expandTilde(candidate) / exe for ext in extensions: - let x = addFileExt(x, ext) + var x = addFileExt(x, ext) if existsFile(x): when not defined(windows) and declared(os): while followSymlinks: # doubles as if here |