mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
mk: cope with recursive submodules in all modules
This commit is contained in:
parent
ccddd07d27
commit
a658a78364
@ -30,11 +30,15 @@ done
|
|||||||
git submodule status --recursive
|
git submodule status --recursive
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
(cd modules/uavcan && git submodule init) || {
|
for m in $MODULE_LIST; do
|
||||||
echo "init of uavcan failed"
|
[ -f modules/$m/.gitmodules ] && {
|
||||||
git submodule status --recursive
|
(cd modules/$m && git submodule init) || {
|
||||||
exit 1
|
echo "init of $m failed"
|
||||||
}
|
git submodule status --recursive
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
done
|
||||||
git submodule update --recursive || {
|
git submodule update --recursive || {
|
||||||
echo "git submodule update failed"
|
echo "git submodule update failed"
|
||||||
git submodule status --recursive
|
git submodule status --recursive
|
||||||
|
Loading…
Reference in New Issue
Block a user