Fix build script Limine-HDD.HH array size generation.

This commit is contained in:
TomAwezome 2022-09-17 02:38:04 -04:00
parent d9e1334226
commit a5fbff8a83

View file

@ -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