Add small script to subrepo clone a list of git repositories in minetest-france/mods/

master
dicebox 2017-02-10 19:00:08 +01:00
parent 10216acd86
commit e1b9a5a62e
1 changed files with 11 additions and 0 deletions

View File

@ -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