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

Signed-off-by: Leah Rowe <leah@libreboot.org>
fsdg20230625
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 if [ "${cbtree##*/}" = "coreboot" ]; then
continue continue
fi fi
if [ ! -d "${cbtree}" ]; then
continue
fi
# Clean coreboot, of course # Clean coreboot, of course
make -C "${cbtree}/" distclean make -C "${cbtree}/" distclean