diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-28 13:49:08 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-28 13:49:08 +0100 |
commit | 75951c4690824793d9a269637af88ef26fb6c779 (patch) | |
tree | b6702681723a50b694c1ebac0af47e92d06fd196 | |
parent | d36c07847d814e15be5a82be1713e1958af5d308 (diff) |
vendor.sh: simplified cbfstoolref check
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | include/vendor.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vendor.sh b/include/vendor.sh index a14fbaef..68da745f 100755 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -67,9 +67,8 @@ bootstrap() [ ! -d "${kbc1126_ec_dump%/*}" ] || [ -f "$kbc1126_ec_dump" ] || x_ \ make -C "$cbdir/util/kbc1126" [ -n "$MRC_refcode_cbtree" ] && \ - cbfstoolref="elf/cbfstool/$MRC_refcode_cbtree/cbfstool" - [ -z "$cbfstoolref" ] || [ -f "$cbfstoolref" ] || \ - x_ ./update trees -b coreboot utils $MRC_refcode_cbtree + cbfstoolref="elf/cbfstool/$MRC_refcode_cbtree/cbfstool" && \ + x_ ./update trees -b coreboot utils $MRC_refcode_cbtree [ -f "$cbfstool" ] && [ -f "$ifdtool" ] && return 0 x_ ./update trees -b coreboot utils $tree } |