From de9e71bbb04becfc4a02931c8ff1fefb2410f524 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Wed, 2 May 2018 21:18:09 +0100 Subject: [PATCH] Fixed copying of output file when creating ISO. --- nakefile.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")