diff --git a/libraries/GCS_MAVLink/sync b/libraries/GCS_MAVLink/sync index 1d94af457c..a0d2d92a45 100755 --- a/libraries/GCS_MAVLink/sync +++ b/libraries/GCS_MAVLink/sync @@ -5,7 +5,7 @@ branch="roi" # to master then trap exit ERR rm -rf _tmp -git clone git://github.com/pixhawk/mavlink.git -b roi _tmp +git clone git://github.com/pixhawk/mavlink.git -b $branch _tmp rm -rf _tmp/.git rsync -av _tmp/* . rm -rf _tmp