From 027116f596988064271151af7708819b9ee10e76 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Sat, 17 Sep 2022 02:51:44 -0400 Subject: [PATCH] Fix build script Limine-HDD.HH generate command placement. --- build/build-iso.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build/build-iso.sh b/build/build-iso.sh index 43461357..7fd8327d 100755 --- a/build/build-iso.sh +++ b/build/build-iso.sh @@ -91,14 +91,6 @@ then rm limine-deploy rm limine-version - touch Limine-HDD.HH - echo "/*\$WW,1\$" > Limine-HDD.HH - cat LICENSE.md >> Limine-HDD.HH - echo "*/\$WW,0\$" >> Limine-HDD.HH - cat limine-hdd.h >> Limine-HDD.HH - sed -i 's/const uint8_t/U8/g' Limine-HDD.HH - sed -i "s/\[\]/\[$(grep -c ' ' ./limine-hdd.h)*16\]/g" Limine-HDD.HH - cd .. fi if [ ! -d "limine" ]; then @@ -106,6 +98,14 @@ if [ ! -d "limine" ]; then fi make -C limine +touch limine/Limine-HDD.HH +echo "/*\$WW,1\$" > limine/Limine-HDD.HH +cat limine/LICENSE.md >> limine/Limine-HDD.HH +echo "*/\$WW,0\$" >> limine/Limine-HDD.HH +cat limine/limine-hdd.h >> limine/Limine-HDD.HH +sed -i 's/const uint8_t/U8/g' limine/Limine-HDD.HH +sed -i "s/\[\]/\[$(grep -c ' ' ./limine/limine-hdd.h)*16\]/g" limine/Limine-HDD.HH + mount_tempdisk echo "Extracting MyDistro ISO from vdisk ..." cp $TMPMOUNT/Tmp/MyDistro.ISO.C ./ZealOS-MyDistro.iso