From d8284010ae42e0cc7a8c283c03fe4c9fdf370f52 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Thu, 6 Oct 2022 19:20:34 -0400 Subject: [PATCH] Fix build-iso Limine-HDD.HH generate array count math and subcommand. --- build/build-iso.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build-iso.sh b/build/build-iso.sh index 7fd8327d..f24690b4 100755 --- a/build/build-iso.sh +++ b/build/build-iso.sh @@ -104,7 +104,7 @@ 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 +sed -i "s/\[\]/\[$(grep -o "0x" ./limine/limine-hdd.h | wc -l)\]/g" limine/Limine-HDD.HH mount_tempdisk echo "Extracting MyDistro ISO from vdisk ..."