summary refs log tree commit diff stats
path: root/tools/niminst
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-12-16 01:56:38 +0100
committerAraq <rumpf_a@web.de>2017-12-16 01:56:38 +0100
commit35133d97ef955a4bd19b8922078ff75ff39f7782 (patch)
tree9d4c6bb06ecb231d0436b1e2dc7cef5d0466d5bd /tools/niminst
parent190f706a1003d6d949e2f377256f969509339c37 (diff)
downloadNim-35133d97ef955a4bd19b8922078ff75ff39f7782.tar.gz
make niminst compile again
Diffstat (limited to 'tools/niminst')
-rw-r--r--tools/niminst/niminst.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim
index e4568dc3a..ab0ce6a5b 100644
--- a/tools/niminst/niminst.nim
+++ b/tools/niminst/niminst.nim
@@ -15,7 +15,7 @@ when haveZipLib:
 
 import
   os, osproc, strutils, parseopt, parsecfg, strtabs, streams, debcreation,
-  securehash
+  "../../compiler/securehash"
 
 const
   maxOS = 20 # max number of OSes
@@ -283,7 +283,7 @@ proc yesno(p: var CfgParser, v: string): bool =
   else: quit(errorStr(p, "unknown value; use: yes|no"))
 
 proc incl(s: var seq[string], x: string): int =
-  for i in 0.. <s.len:
+  for i in 0 ..< s.len:
     if cmpIgnoreStyle(s[i], x) == 0: return i
   s.add(x)
   result = s.len-1