diff --git a/nakefile.nim b/nakefile.nim index c0b5870..1ef6f9a 100644 --- a/nakefile.nim +++ b/nakefile.nim @@ -46,7 +46,7 @@ task "check-multiboot", "Checks the grub multiboot header.": task "build-disc", "Creates an ISO with the GRUB bootloader.": removeDir("isodir") createDir("isodir/boot/grub") - copyFile("myos.bin", "isodir/boot/kernel") + copyFile(outputFile, "isodir/boot/kernel") copyFile("grub.cfg", "isodir/boot/grub/grub.cfg") if not shell("grub-mkrescue -o ", outputIso, " isodir"): direShell("grub2-mkrescue -o ", outputIso, " isodir")