diff options
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim index 9e0ea1a54..273f0b79f 100644 --- a/koch.nim +++ b/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) |