From e20b252ebc5eb7dcd3ee826f9468f6e04054bcca Mon Sep 17 00:00:00 2001 From: Tom-on64 Date: Sat, 23 Dec 2023 21:51:04 +0100 Subject: [PATCH] changed build.sh --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.sh b/build.sh index 5bf4925..3cb36de 100644 --- a/build.sh +++ b/build.sh @@ -1,3 +1,10 @@ +#!/bin/bash + +# Create build dir if it doesn't exist +if !(test -d ./build); then + mkdir ./build +fi + # Bootloader nasm -fbin src/boot.asm -o build/boot.bin nasm -fbin src/filetable.asm -o build/filetable.bin