Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (10 sloc) 333 Bytes
#/bin/bash
find packages src -type d -depth 1 >| basket.pth
perl -pi -e 's:httplib2:httplib2/python2:' basket.pth
perl -pi -e 's:src/greatape:src/greatape/src:' basket.pth
git init
for f in src/*
do
pushd $f > /dev/null && REPO=$(git config remote.origin.url) && popd > /dev/null && git submodule add $REPO $f
done
git add .