vendor.sh: remove unnecessary cbdir check

we don't need to check this, because the trees script
already checks it. avoid unnecessary work.

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-28 13:22:37 +01:00
parent fd037722ad
commit 4afcbcb641
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ build_dependencies_inject()
cbdir="src/coreboot/$tree" cbdir="src/coreboot/$tree"
cbfstool="elf/cbfstool/$tree/cbfstool" cbfstool="elf/cbfstool/$tree/cbfstool"
ifdtool="elf/ifdtool/$tree/ifdtool" ifdtool="elf/ifdtool/$tree/ifdtool"
[ -d "$cbdir" ] || x_ ./update trees -f coreboot $tree x_ ./update trees -f coreboot $tree
if [ ! -f "$cbfstool" ] || [ ! -f "$ifdtool" ]; then if [ ! -f "$cbfstool" ] || [ ! -f "$ifdtool" ]; then
x_ ./update trees -b coreboot utils $tree x_ ./update trees -b coreboot utils $tree
fi fi