summaryrefslogtreecommitdiff
path: root/.gitcheck
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-18 09:38:20 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-18 09:38:20 +0100
commit829bc02bf28543de25682bd9cd5fe07aa74dc11f (patch)
treed70e16b27430fc4d14944e9c844033884ec75d29 /.gitcheck
parent52bc07bc848e993eacd30d555206d623af2d5839 (diff)
.gitcheck: *actually* check coreboot directories
Diffstat (limited to '.gitcheck')
-rwxr-xr-x.gitcheck11
1 files 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
}