summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/vendor.sh5
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
}