use lowercase --define switches (#17283)
This commit is contained in:
parent
b8c04bdb92
commit
0e3ea16554
21 changed files with 45 additions and 45 deletions
2
koch.nim
2
koch.nim
|
|
@ -266,7 +266,7 @@ proc findStartNim: string =
|
|||
# If these fail, we try to build nim with the "build.(sh|bat)" script.
|
||||
let (nim, ok) = findNimImpl()
|
||||
if ok: return nim
|
||||
when defined(Posix):
|
||||
when defined(posix):
|
||||
const buildScript = "build.sh"
|
||||
if fileExists(buildScript):
|
||||
if tryExec("./" & buildScript): return "bin" / nim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue