diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-01 23:48:10 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-16 11:28:26 -0500 |
commit | 9152c42a65c199893d2d2809153a709bd2f619f8 (patch) | |
tree | dd15a0949c52ded5c71262188f83f70eed45814e /download | |
parent | 074bb522927c60f2575fdc5bcb83eb17a4dfc4b7 (diff) |
submodules migration
Change-Id: Ib3e472a4b1abf880f695be7a6667393d6a82f10d
Diffstat (limited to 'download')
-rwxr-xr-x | download | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -52,17 +52,19 @@ if [ -d .git ] ; then if [ -z "$GIT_LINK_SRC" ]; then ./g -f clone else + echo "FIXME: GIT_LINK_SRC method is not yet implemented with submodules" 1>&2 + exit 1; # space-saving clone from another local workdir - mkdir clone - branch=$(git symbolic-ref HEAD | cut -d"/" -f 3) - for i in $GIT_REPO_NAMES ; do - bin/git-new-workdir $GIT_LINK_SRC/$i clone/$i $branch - for d in clone/$i/* ; do - if [ "${d}" != "clone/$i/git-hooks" ]; then - ln -sfn ${d} $(basename ${d}) - fi - done - done +# mkdir clone +# branch=$(git symbolic-ref HEAD | cut -d"/" -f 3) +# for i in $GIT_REPO_NAMES ; do +# bin/git-new-workdir $GIT_LINK_SRC/$i clone/$i $branch +# for d in clone/$i/* ; do +# if [ "${d}" != "clone/$i/git-hooks" ]; then +# ln -sfn ${d} $(basename ${d}) +# fi +# done +# done fi fi @@ -169,7 +171,7 @@ for i in $filelist ; do # echo $i if [ "$i" != `echo $i | sed "s/^http:\///"` ]; then tarurl=$i - # TODO: check for comment + # TODO: check for comment else if [ "$tarurl" != "" ]; then sum=`echo $i | sed "s/-.*//"` |