Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1702 - 1
#!/bin/bash
2
if [[ $# != 1 ]]
3
then
4
    echo "usage: $0 version"
5
    exit
6
fi
7
 
8
MAVLINK_VERSION=$1
9
rm -rf  VERSION mavlink* include lib share *.zip
10
wget http://github.com/downloads/mavlink/mavlink/mavlink-${MAVLINK_VERSION}.zip
11
unzip mavlink-${MAVLINK_VERSION}.zip
12
mv mavlink-${MAVLINK_VERSION}/* .
13
rm -rf  mavlink* share lib
14
echo $MAVLINK_VERSION > VERSION