From 829bc02bf28543de25682bd9cd5fe07aa74dc11f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 18 May 2023 09:38:20 +0100 Subject: .gitcheck: *actually* check coreboot directories --- .gitcheck | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitcheck b/.gitcheck index 3fc20b6c..0bc64fbc 100755 --- a/.gitcheck +++ b/.gitcheck @@ -17,9 +17,14 @@ main() # Check coreboot as well to prevent errors during building if [ -d coreboot ]; then - cd coreboot - set_placeholder - cd - + for x in coreboot/*; do + if [ ! -d "${x}" ]; then + continue + fi + cd "${x}" + set_placeholder + cd - + done fi fi } -- cgit v1.2.1