ardupilot/libraries/GCS_MAVLink/sync

10 lines
182 B
Bash
Executable File

#!/bin/sh
branch="master"
trap exit ERR
rm -rf _tmp
git clone git://github.com/pixhawk/mavlink.git -b $branch _tmp
rm -rf _tmp/.git
rsync -av _tmp/* .
rm -rf _tmp
svn add --force *