diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-28 14:51:32 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-28 14:51:32 +0100 |
commit | afc00306828f1ca73db89bb04195518879467b10 (patch) | |
tree | db33110da871fe8221155a70fc275c362e3326fd /script/roms | |
parent | 35c487106a520cec24b1d76d10042ba51497a962 (diff) |
remove more unnecessary checks on trees commands
the trees script already performs these checks
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/roms')
-rwxr-xr-x | script/roms | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/roms b/script/roms index 8d5d1401..98a9a854 100755 --- a/script/roms +++ b/script/roms @@ -102,7 +102,7 @@ configure_target() x_ ./update trees -b coreboot $board cbfstool="elf/cbfstool/$tree/cbfstool" - [ -f "$cbfstool" ] || x_ ./update trees -b coreboot utils $tree + x_ ./update trees -b coreboot utils $tree [ -n "$uboot_config" ] || uboot_config="default" [ "$payload_uboot" = "y" ] || payload_seabios="y" @@ -143,7 +143,7 @@ add_payloads() # add u-boot payload ubdir="elf/u-boot/$board/$uboot_config"; ubootelf="$ubdir/u-boot.elf" \ && [ ! -f "$ubootelf" ] && ubootelf="$ubdir/u-boot" - [ -f "$ubootelf" ] || x_ ./update trees -b u-boot $board + x_ ./update trees -b u-boot $board [ -f "$ubootelf" ] || $err "$board: Can't find u-boot" cbfs "$tmprom" "$ubootelf" "fallback/payload" |