op.sh: check submodules (#33095)

submodules
pull/33101/head
Maxime Desroches 10 months ago committed by GitHub
parent 6b5f88a533
commit eab9cd751c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      tools/op.sh

@ -73,7 +73,7 @@ function op_check_git() {
fi
echo "Checking for git submodules..."
for name in msgq_repo opendbc panda rednose_repo tinygrad_repo; do
for name in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }' | tr '\n' ' '); do
if [[ -z $(ls $OPENPILOT_ROOT/$name) ]]; then
echo -e " ↳ [${RED}${NC}] git submodule $name not found! Run 'git submodule update --init --recursive'"
return 1

Loading…
Cancel
Save