mirror of https://github.com/ArduPilot/ardupilot
autotest: skip binary builds without submodules
the build_binaries is trying to build for navio and pxf without submodules
This commit is contained in:
parent
54e2ebde1c
commit
fd17a69cd1
|
@ -16,6 +16,7 @@ githash=$(git rev-parse HEAD)
|
|||
hdate=$(date +"%Y-%m/%Y-%m-%d-%H:%m")
|
||||
mkdir -p binaries/$hdate
|
||||
binaries=$PWD/../buildlogs/binaries
|
||||
BASEDIR=$PWD
|
||||
|
||||
error_count=0
|
||||
|
||||
|
@ -69,6 +70,10 @@ skip_build() {
|
|||
echo "Skipping build - version match $newversion"
|
||||
return 0
|
||||
}
|
||||
[ -f $BASEDIR/.gitmodules ] || {
|
||||
echo "Skipping build without submodules"
|
||||
return 0
|
||||
}
|
||||
echo "$ldir needs rebuild"
|
||||
return 1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue