From 28190b6d4664508ad8b1cf88a82378b02f487cfa Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 9 Nov 2020 20:16:44 +0100 Subject: Support ssh server for remote debugging --- build/setup/repos.sh | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'build/setup/repos.sh') diff --git a/build/setup/repos.sh b/build/setup/repos.sh index 9e76208..92c1a2f 100644 --- a/build/setup/repos.sh +++ b/build/setup/repos.sh @@ -2,19 +2,27 @@ set -o errexit -setup_path="$1" -repos_path="$2" +repo_group="$1" +setup_path="$2" +repos_path="$3" +[ -z "$repo_group" ] && repo_group="all" [ -z "$setup_path" ] && setup_path="/root/setup" [ -z "$repos_path" ] && repos_path="/ccpi/repos" -repos=( \ - "https://github.com/astra-toolbox/astra-toolbox.git tags/v1.8.3 astra.sh" \ +repos_astra=( \ + "https://github.com/astra-toolbox/astra-toolbox.git master astra.sh" \ +) + +repos_ccpi=( \ "https://github.com/vais-ral/CCPi-Framework.git master ccpi.sh" \ "https://github.com/vais-ral/CCPi-FrameworkPlugins.git master ccpi.sh" \ - "https://github.com/vais-ral/CCPi-astra.git update_projectors ccpi.sh" \ + "https://github.com/vais-ral/CCPi-astra.git master ccpi.sh" \ "https://github.com/vais-ral/CCPi-Regularisation-Toolkit.git master ccpi.sh" \ ) +repos_all=("${repos_astra[@]}" "${repos_ccpi[@]}") +declare -n repos="repos_$repo_group" + function install_repo { repo="$1" name=$(basename "$repo" .git) -- cgit v1.2.1