:: commit 4960086ec6126e5feb8e3a410ee7d236a5612b8e

mintsuki <mintsuki@protonmail.com> — 2023-05-02 06:49

parents: 9ff988ed74

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

diff --git a/host/hgen.sh b/host/hgen.sh
index 75690a1f..77b37fbb 100755
--- a/host/hgen.sh
+++ b/host/hgen.sh
@@ -9,7 +9,7 @@ cat <<EOF
 const uint8_t binary_limine_hdd_bin_data[] = {
 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
 };
tab: 248 wrap: offon