bugfix: osproc compiles under windows again
This commit is contained in:
parent
37741f28fd
commit
8c799da867
2 changed files with 2 additions and 2 deletions
2
koch.nim
2
koch.nim
|
|
@ -124,8 +124,8 @@ proc bootIteration(args: string): bool =
|
|||
exec "rod" / "nimrod1 cc $# $# rod/nimrod.nim" % [bootOptions, args]
|
||||
# Nimrod does not produce an executable again if nothing changed. That's ok:
|
||||
result = sameFileContent("rod" / "nimrod".exe, nimrod1)
|
||||
safeRemove("bin" / "nimrod".exe)
|
||||
var dest = "bin" / "nimrod".exe
|
||||
safeRemove(dest)
|
||||
copyFile(dest=dest, source="rod" / "nimrod".exe)
|
||||
inclFilePermissions(dest, {fpUserExec})
|
||||
safeRemove(nimrod1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue