Skip to content

Commit

Permalink
Added download.sh to download external dependencies
Browse files Browse the repository at this point in the history
(cherry picked from commit 460d79b)
  • Loading branch information
slouken authored and sezero committed Jan 5, 2024
1 parent ce6f550 commit 31a6fdf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions external/download.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

set -e

cd $(dirname "$0")/..
cat .gitmodules | \
while true; do
read module || break
read line; set -- $line
path=$3
read line; set -- $line
url=$3
read line; set -- $line
branch=$3
git clone $url $path -b $branch --recursive
done

0 comments on commit 31a6fdf

Please sign in to comment.