From 4a2bbc665cb8f33fbc367c34322a85bd5229666b Mon Sep 17 00:00:00 2001 From: alteman Date: Sat, 4 Mar 2017 12:16:21 +0300 Subject: [PATCH] Update thirdparty/GCS_MAVLink sync script to work with updated mavlink repo (#4548) --- radio/src/thirdparty/GCS_MAVLink/sync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/thirdparty/GCS_MAVLink/sync b/radio/src/thirdparty/GCS_MAVLink/sync index c1b16bc69..01ff4827e 100644 --- a/radio/src/thirdparty/GCS_MAVLink/sync +++ b/radio/src/thirdparty/GCS_MAVLink/sync @@ -2,13 +2,13 @@ branch="master" trap exit ERR rm -rf _tmp -git clone git://github.com/mavlink/mavlink.git -b $branch _tmp +git clone --recursive --depth 1 git://github.com/mavlink/mavlink.git -b $branch _tmp rm -rf _tmp/.git rsync -av _tmp/message_definitions/v1.0/* ./message_definitions_v1.0/ rm -rf include_v1.0 WD=`pwd` OUT_DIR="$WD/include_v1.0" IN_FILE="$WD/message_definitions_v1.0/ardupilotmega.xml" -CMD="./_tmp/pymavlink/generator/mavgen.py --lang=C -o $OUT_DIR $IN_FILE" +CMD="./_tmp/pymavlink/tools/mavgen.py --lang=C -o $OUT_DIR $IN_FILE" $CMD rm -rf _tmp