build: BSD od related adjustments in hgen.sh

This commit is contained in:
mintsuki 2022-02-11 19:55:57 +01:00
parent 30d518f30a
commit 92896f9542
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ cat <<EOF
const uint8_t _binary_limine_hdd_bin_data[] = {
EOF
od -v -An -t x1 <limine-hdd.bin | "$SED" 's/ /, 0x/g;s/^, / /g;s/$/,/g'
od -v -An -t x1 <limine-hdd.bin | "$SED" '/^$/d;s/^ */ /g;s/ *$//g;s/ / /g;s/ /, 0x/g;s/^, / /g;s/$/,/g'
cat <<EOF
};