From 55fc8fe0b0da4d3f740e563d29dceacf666561b8 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 24 Jun 2023 22:50:09 +0100 Subject: build/cbutils: exit if utils dir doesn't exist Signed-off-by: Leah Rowe --- resources/scripts/build/clean/cbutils | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resources') diff --git a/resources/scripts/build/clean/cbutils b/resources/scripts/build/clean/cbutils index b8bffb8d..d129ff6e 100755 --- a/resources/scripts/build/clean/cbutils +++ b/resources/scripts/build/clean/cbutils @@ -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 -- cgit v1.2.1