build/cbutils: exit if utils dir doesn't exist

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2023-06-24 22:50:09 +01:00
parent dd16a575e7
commit 55fc8fe0b0
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ for cbtree in coreboot/*; do
if [ "${cbtree##*/}" = "coreboot" ]; then
continue
fi
if [ ! -d "${cbtree}" ]; then
continue
fi
# Clean coreboot, of course
make -C "${cbtree}/" distclean