Make getter recurse submodules

This commit is contained in:
Adam Goldsmith 2018-09-04 14:13:04 -04:00
parent a4afa4c89e
commit bc58e5b019

View File

@ -15,7 +15,7 @@ do
echo "$t already exists, not getting" echo "$t already exists, not getting"
else else
echo "Getting $t" echo "Getting $t"
git clone "http://adamgoldsmith.name/cgit/dotfiles/$t.git" git clone "http://adamgoldsmith.name/cgit/dotfiles/$t.git" --recurse-submodules
cd $t cd $t
git remote set-url origin http://adamgoldsmith.name/cgit/dotfiles/$t.git git remote set-url origin http://adamgoldsmith.name/cgit/dotfiles/$t.git
git remote set-url --push origin ag:/srv/git/dotfiles/$t.git git remote set-url --push origin ag:/srv/git/dotfiles/$t.git