diff options
author | Leah Rowe <leah@libreboot.org> | 2023-06-24 22:50:09 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-06-24 22:50:09 +0100 |
commit | 55fc8fe0b0da4d3f740e563d29dceacf666561b8 (patch) | |
tree | 645d321d844b8133db7f651499e80dc37a038c6f /resources/scripts/build/clean/cbutils | |
parent | dd16a575e7aabe12386fcaa19c07ceed71fb01dd (diff) |
build/cbutils: exit if utils dir doesn't exist
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/clean/cbutils')
-rwxr-xr-x | resources/scripts/build/clean/cbutils | 3 |
1 files changed, 3 insertions, 0 deletions
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 |