hgen: Add extra sed command for handling Solaris's od

This commit is contained in:
mintsuki 2023-05-02 08:49:46 +02:00
parent 9ff988ed74
commit 4960086ec6
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[] = { const uint8_t binary_limine_hdd_bin_data[] = {
EOF EOF
od -v -An -t x1 <limine-hdd.bin | "$SED" '/^$/d;s/ */ /g;s/ *$//g;s/ /, 0x/g;s/^, / /g;s/$/,/g' od -v -An -t x1 <limine-hdd.bin | "$SED" '/^$/d;s/ */ /g;s/ *$//g;s/ /, 0x/g;s/^, / /g;s/$/,/g;s/^ , / /g'
cat <<EOF cat <<EOF
}; };