Skip to content

Commit

Permalink
fixed headers repo path
Browse files Browse the repository at this point in the history
Signed-off-by: RomanBapst <[email protected]>
  • Loading branch information
RomanBapst committed Jun 27, 2024
1 parent 86021c5 commit 2111689
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/update_c_library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
# git remote rename origin upstream
# mkdir -p include/mavlink/v1.0
# cd include/mavlink/v1.0
# git clone [email protected]:auterion/c_library_v1.git
# git clone [email protected]:Auterion/c_library_v1.git
# cd ~/src/mavlink
# ./scripts/update_c_library.sh 1
#
# A one-liner for the TMP directory (e.g. for crontab)
# cd /tmp; git clone [email protected]:auterion/mavlink.git &> /dev/null; \
# cd /tmp/mavlink && git remote rename origin upstream &> /dev/null; \
# mkdir -p include/mavlink/v1.0 && cd include/mavlink/v1.0 && git clone [email protected]:auterion/c_library_v1.git &> /dev/null; \
# mkdir -p include/mavlink/v1.0 && cd include/mavlink/v1.0 && git clone [email protected]:Auterion/c_library_v1.git &> /dev/null; \
# cd /tmp/mavlink && ./scripts/update_c_library.sh &> /dev/null

function generate_headers() {
Expand Down
4 changes: 2 additions & 2 deletions scripts/update_generated_repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ echo "https://${GH_TOKEN}:@github.com" > "$HOME"/.git-credentials
GEN_START_PATH=$PWD
mkdir -p include/mavlink/v2.0
cd include/mavlink/v2.0
git clone https://github.com/auterion/c_library_v2.git
git clone https://github.com/Auterion/c_library_v2.git
cd ../../..
./scripts/update_c_library.sh 2
# v1.0 legacy
cd "$GEN_START_PATH"
mkdir -p include/mavlink/v1.0
cd include/mavlink/v1.0
git clone https://github.com/auterion/c_library_v1.git
git clone https://github.com/Auterion/c_library_v1.git
cd ../../..
./scripts/update_c_library.sh 1

0 comments on commit 2111689

Please sign in to comment.