From 1687f16a4c10cfd05fd2a60bb9b36093bd40870b Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Wed, 3 Jun 2020 13:45:49 +0000 Subject: tcwg_gnu-build.sh: Fix shellcheck warnings Change-Id: I6735863b1937995e6e4883e0a811376222219bf4 --- tcwg_gnu-build.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh index 03aae496..28fd2f78 100755 --- a/tcwg_gnu-build.sh +++ b/tcwg_gnu-build.sh @@ -11,20 +11,16 @@ scripts=$(dirname $0) convert_args_to_variables "$@" obligatory_variables rr[ci_config] +declare -A rr # Execution mode: baseline, bisect, jenkins-full -# shellcheck disable=SC2154 rr[mode]="${rr[mode]-baseline}" # Set custom revision for one of the projects, and use baseline revisions # for all other projects. -# shellcheck disable=SC2154 rr[ci_project]="${rr[ci_project]-tcwg_gnu}" -# shellcheck disable=SC2154 rr[baseline_branch]="${rr[baseline_branch]-linaro-local/ci/${rr[ci_project]}/${rr[ci_config]}}" -# shellcheck disable=SC2154 rr[update_baseline]="${rr[update_baseline]-update}" -# shellcheck disable=SC2154 rr[top_artifacts]="${rr[top_artifacts]-$(pwd)/artifacts}" # Resolve top_artifacts to absolute dir because some of the subsequent @@ -36,16 +32,13 @@ rr[top_artifacts]=$(abs_path "${rr[top_artifacts]}") IFS=- read -a ci_config <