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