From eab9cd751c99a0a5046cfb31711daab145f164b2 Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Fri, 26 Jul 2024 15:28:13 -0700 Subject: [PATCH] op.sh: check submodules (#33095) submodules --- tools/op.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/op.sh b/tools/op.sh index faa75951de..6e07965392 100755 --- a/tools/op.sh +++ b/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