From d6ff009e207537b7f925e33456d24fe90ca23fd1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 1 Jul 2024 03:34:09 +0100 Subject: roms: fix bad comparison in configure_target() Signed-off-by: Leah Rowe --- script/roms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/roms') diff --git a/script/roms b/script/roms index 359d5725..8a2cc796 100755 --- a/script/roms +++ b/script/roms @@ -107,7 +107,7 @@ configure_target() [ -n "$uboot_config" ] || uboot_config="default" [ "$payload_uboot" = "y" ] || payload_seabios="y" [ "$payload_grub" = "y" ] && payload_seabios="y" - [ "$payload_seabios" = "y" ] && [ -n "$payload_uboot" = "y" ] && \ + [ "$payload_seabios" = "y" ] && [ "$payload_uboot" = "y" ] && \ $err "$board: U-Boot and SeaBIOS/GRUB are both enabled." [ -z "$grub_scan_disk" ] && grub_scan_disk="nvme ahci ata" -- cgit v1.2.1