2010-12-04 20:49:04 -04:00
|
|
|
#!/bin/sh
|
2011-05-18 00:24:31 -03:00
|
|
|
branch="dev"
|
2011-05-07 17:49:13 -03:00
|
|
|
# temporarily using roi branch instead of master
|
|
|
|
# this branch will be deleted soon so switch it back
|
|
|
|
# to master then
|
2011-01-12 04:57:54 -04:00
|
|
|
trap exit ERR
|
2010-12-04 20:49:04 -04:00
|
|
|
rm -rf _tmp
|
2011-05-07 17:51:19 -03:00
|
|
|
git clone git://github.com/pixhawk/mavlink.git -b $branch _tmp
|
2010-12-04 20:49:04 -04:00
|
|
|
rm -rf _tmp/.git
|
|
|
|
rsync -av _tmp/* .
|
|
|
|
rm -rf _tmp
|
2010-12-09 02:05:48 -04:00
|
|
|
svn add --force *
|