diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-18 09:38:20 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-18 09:38:20 +0100 |
commit | 829bc02bf28543de25682bd9cd5fe07aa74dc11f (patch) | |
tree | d70e16b27430fc4d14944e9c844033884ec75d29 /.gitcheck | |
parent | 52bc07bc848e993eacd30d555206d623af2d5839 (diff) |
.gitcheck: *actually* check coreboot directories
Diffstat (limited to '.gitcheck')
-rwxr-xr-x | .gitcheck | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 } |