From a5fbff8a8364400ac3e5392aa84d894ac77b8e39 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Sat, 17 Sep 2022 02:38:04 -0400 Subject: [PATCH] Fix build script Limine-HDD.HH array size generation. --- build/build-iso.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/build-iso.sh b/build/build-iso.sh index 6ddad062..43461357 100755 --- a/build/build-iso.sh +++ b/build/build-iso.sh @@ -97,6 +97,7 @@ then 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