diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-06-13 12:17:54 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-06-13 12:18:44 +0200 |
commit | 82ccb09b6121c718362295b93b66f41d6be044a9 (patch) | |
tree | 57b082ccfacb6674b83182f3ae8405fe60074f56 /tools/niminst | |
parent | 7e8c9eda45b887b13f4354fcb25fe39708478cc3 (diff) | |
download | Nim-82ccb09b6121c718362295b93b66f41d6be044a9.tar.gz |
fixes niminst regression
Diffstat (limited to 'tools/niminst')
-rw-r--r-- | tools/niminst/niminst.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim index eb2cb64a3..79e552bde 100644 --- a/tools/niminst/niminst.nim +++ b/tools/niminst/niminst.nim @@ -256,7 +256,7 @@ proc addFiles(s: var seq[string], patterns: seq[string]) = for f in walkFiles(p): if existsDir(f): walkDirRecursively(s, f, p, false) - elif not ignoreFile(f, f, false): + elif not ignoreFile(f, p, false): add(s, unixToNativePath(f)) inc(i) if i == 0: echo("[Warning] No file found that matches: " & p) |