From 9152c42a65c199893d2d2809153a709bd2f619f8 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Mon, 1 Oct 2012 23:48:10 -0500 Subject: submodules migration Change-Id: Ib3e472a4b1abf880f695be7a6667393d6a82f10d --- bin/create_bootstrap_links | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'bin') 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 -- cgit