diff options
author | Leah Rowe <leah@libreboot.org> | 2024-07-01 03:34:09 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-07-01 03:34:09 +0100 |
commit | d6ff009e207537b7f925e33456d24fe90ca23fd1 (patch) | |
tree | d605d5751fa8e42f42c20f4bd6aa7f34e9a50a3e | |
parent | 3ee045f9ad8880fbb64227cfbe7b36e5770370d1 (diff) |
roms: fix bad comparison in configure_target()
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | script/roms | 2 |
1 files changed, 1 insertions, 1 deletions
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" |