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 }