Add small script to subrepo clone a list of git repositories in minetest-france/mods/
parent
10216acd86
commit
e1b9a5a62e
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
file_input="$1"
|
||||
|
||||
|
||||
for repo in $(cat ${file_input}); do
|
||||
#echo "${repo}"
|
||||
git subrepo clone "${repo}" mods/"$(echo "${repo}" | rev | cut -d "." -f 2- | cut -d "/" -f 1 | rev)"
|
||||
read
|
||||
done
|
Loading…
Reference in New Issue