From 75951c4690824793d9a269637af88ef26fb6c779 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 28 Jun 2024 13:49:08 +0100 Subject: vendor.sh: simplified cbfstoolref check Signed-off-by: Leah Rowe --- include/vendor.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include') 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 } -- cgit v1.2.1