mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-08 23:22:04 +08:00
op.sh: check submodules (#33095)
submodules old-commit-hash: eab9cd751c99a0a5046cfb31711daab145f164b2
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user