mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
autotest: fixed bash syntax
This commit is contained in:
parent
f2b0fc3566
commit
8d393c89d0
@ -25,14 +25,7 @@ newtagsuavcan=$(cd uavcan && git fetch --tags | wc -l)
|
|||||||
oldhashuavcan=$(cd uavcan && git rev-parse origin/master)
|
oldhashuavcan=$(cd uavcan && git rev-parse origin/master)
|
||||||
newhashuavcan=$(cd uavcan && git rev-parse HEAD)
|
newhashuavcan=$(cd uavcan && git rev-parse HEAD)
|
||||||
|
|
||||||
if [ "$oldhash" = "$newhash" -a
|
if [ "$oldhash" = "$newhash" -a "$newtags" = "0" -a "$oldhashpx4" = "$newhashpx4" -a "$newtagspx4" = "0" -a "$oldhashnuttx" = "$newhashnuttx" -a "$newtagsnuttx" = "0" -a "$oldhashuavcan" = "$newhashuavcan" -a "$newtagsuavcan" = "0" ]; then
|
||||||
"$newtags" = "0" -a
|
|
||||||
"$oldhashpx4" = "$newhashpx4" -a
|
|
||||||
"$newtagspx4" = "0" -a
|
|
||||||
"$oldhashnuttx" = "$newhashnuttx" -a
|
|
||||||
"$newtagsnuttx" = "0" -a
|
|
||||||
"$oldhashuavcan" = "$newhashuavcan" -a
|
|
||||||
"$newtagsuavcan" = "0" ]; then
|
|
||||||
echo "no change $oldhash $newhash `date`" >> build.log
|
echo "no change $oldhash $newhash `date`" >> build.log
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user