ardupilot/libraries/GCS_MAVLink/update

15 lines
355 B
Plaintext
Raw Normal View History

2012-04-19 16:46:29 -03:00
#!/bin/bash
if [[ $# != 1 ]]
then
echo "usage: $0 version"
exit
fi
MAVLINK_VERSION=$1
rm -rf VERSION mavlink* include lib share *.zip
wget https://github.com/downloads/mavlink/mavlink/mavlink-${MAVLINK_VERSION}.zip
unzip mavlink-${MAVLINK_VERSION}.zip
mv mavlink-${MAVLINK_VERSION}/* .
rm -rf mavlink* share lib
echo $MAVLINK_VERSION > VERSION