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 /bin | |
parent | 074bb522927c60f2575fdc5bcb83eb17a4dfc4b7 (diff) |
submodules migration
Change-Id: Ib3e472a4b1abf880f695be7a6667393d6a82f10d
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/create_bootstrap_links | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/bin/create_bootstrap_links b/bin/create_bootstrap_links index a42f7b803847..df813b23074a 100755 --- a/bin/create_bootstrap_links +++ b/bin/create_bootstrap_links @@ -1,15 +1,17 @@ #!/usr/bin/env bash -BIN_DIR=$(dirname $0) -REPOS=$(cat ${BIN_DIR?}/repo-list) -cd ${BIN_DIR?}/.. -BOOTSTRAP_DIR=$(pwd) +# with submodules we do not need links anymore -for repo in $REPOS ; do - for link in $(ls clone/${repo}) ; do - if [ ! -e "$link" ] ; then - echo "Creating missing link $link" - ln -s "clone/${repo}/$link" "$link" - fi - done -done +#BIN_DIR=$(dirname $0) +#REPOS=$(cat ${BIN_DIR?}/repo-list) +#cd ${BIN_DIR?}/.. +#BOOTSTRAP_DIR=$(pwd) + +#for repo in $REPOS ; do +# for link in $(ls clone/${repo}) ; do +# if [ ! -e "$link" ] ; then +# echo "Creating missing link $link" +# ln -s "clone/${repo}/$link" "$link" +# fi +# done +#done |