Start script tweak

pull/13/head
E. Almqvist 4 years ago
parent 9b32990c65
commit 20630c8408
  1. 8
      start.sh

@ -6,8 +6,14 @@ start_bootloader() {
qemu-system-x86_64 $bootloader qemu-system-x86_64 $bootloader
} }
compile() {
/usr/bin/bash $PWD/compile.sh
}
if test -f "$PWD/$bootloader"; then if test -f "$PWD/$bootloader"; then
rm $PWD/$bootloader
compile
start_bootloader start_bootloader
else else
/usr/bin/bash $PWD/compile.sh && start_bootloader compile && start_bootloader
fi fi

Loading…
Cancel
Save