From 817004e151a1c8a70150011ba78bdbd390ecb776 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 15 Jun 2024 23:31:26 +0100 Subject: roms: don't use x_ to call build_grub_roms build_grub_roms never returns a non-zero value Signed-off-by: Leah Rowe --- script/roms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script') diff --git a/script/roms b/script/roms index e2caacef..57657cad 100755 --- a/script/roms +++ b/script/roms @@ -213,7 +213,7 @@ build_roms() [ "$payload_memtest" != "y" ] || cbfs "$cbrom" "$mt86bin" img/memtest [ "$payload_seabios" = "y" ] && build_seabios_roms - [ "$payload_grub" != "y" ] || x_ build_grub_roms "$cbrom" "grub" + [ "$payload_grub" != "y" ] || build_grub_roms "$cbrom" "grub" [ "$payload_uboot" = "y" ] || return 0 x_ cp "$_cbrom" "$cbrom" build_uboot_roms @@ -224,7 +224,7 @@ build_seabios_roms() if [ "$payload_seabios_withgrub" = "y" ]; then t="$(mktemp -t coreboot_rom.XXXXXXXXXX)" x_ cp "$cbrom" "$t" - x_ build_grub_roms "$t" "seabios_withgrub" + build_grub_roms "$t" "seabios_withgrub" else t="$(mkSeabiosRom "$cbrom" "fallback/payload")" || \ $err "build_seabios_roms: cannot build tmprom" -- cgit v1.2.1