ardupilot/libraries/GCS_MAVLink/update

15 lines
354 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
2012-04-20 13:31:50 -03:00
wget http://github.com/downloads/mavlink/mavlink/mavlink-${MAVLINK_VERSION}.zip
2012-04-19 16:46:29 -03:00
unzip mavlink-${MAVLINK_VERSION}.zip
mv mavlink-${MAVLINK_VERSION}/* .
rm -rf mavlink* share lib
echo $MAVLINK_VERSION > VERSION