mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
autotest: more changes to cope with older builds without submodules
This commit is contained in:
parent
fd17a69cd1
commit
48828a7834
@ -43,10 +43,10 @@ checkout() {
|
||||
|
||||
git checkout -f "$vtag" || git checkout -f "$vtag2" || {
|
||||
return 1
|
||||
git submodule update
|
||||
[ -f $BASEDIR/.gitmodules ] && git submodule update
|
||||
}
|
||||
|
||||
git submodule update
|
||||
[ -f $BASEDIR/.gitmodules ] && git submodule update
|
||||
git log -1
|
||||
|
||||
return 0
|
||||
@ -309,10 +309,12 @@ build_antennatracker() {
|
||||
popd
|
||||
}
|
||||
|
||||
# make sure PX4 is rebuilt from scratch
|
||||
git submodule init
|
||||
git submodule update
|
||||
[ -f .gitmodules ] && {
|
||||
git submodule init
|
||||
git submodule update
|
||||
}
|
||||
|
||||
# make sure PX4 is rebuilt from scratch
|
||||
pushd ArduPlane
|
||||
make px4-clean || exit 1
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user