From bdaaf38b8d5fa3c813228eb7078dc5d6dad078e5 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Wed, 11 Aug 2021 20:06:39 +0000 Subject: tcwg_bmk-build.sh, tcwg_kernel-build.sh: Fix shellcheck warnings Change-Id: I5878531b2187e0c9ad972d7fcdf643b65ee94ebc --- tcwg_bmk-build.sh | 11 +---------- tcwg_kernel-build.sh | 12 +----------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh index 2c8e90f4..925c6836 100755 --- a/tcwg_bmk-build.sh +++ b/tcwg_bmk-build.sh @@ -11,31 +11,25 @@ scripts=$(dirname $0) convert_args_to_variables "$@" obligatory_variables rr[ci_project] rr[ci_config] ssh_host ssh_port +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[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}" # Set metric to perf by default. -# shellcheck disable=SC2154 rr[metric]="${rr[metric]-perf}" # {toolchain_name}-{toolchain_ver}-{target}-{bmk}-{cflags} IFS=- read -a ci_config <