diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-09-20 12:43:35 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-09-20 12:43:35 +0000 |
commit | 0e38239e63f8a81a51a9663476d44c197ddd8900 (patch) | |
tree | 7d0f7f64b4f89fc3f7a509343ee93b6afa53beea /tcwg_bmk-build.sh | |
parent | 49a014b18b42bd35a68f884105ca22b91aac6ee9 (diff) |
tcwg_bmk-build.sh: Fix aliasing between $bmk variables
Change-Id: If8e45f1a0b8c5fd6708fdb484b72067f6bd6b4ac
Diffstat (limited to 'tcwg_bmk-build.sh')
-rwxr-xr-x | tcwg_bmk-build.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh index e2c5700d..2e43fdca 100755 --- a/tcwg_bmk-build.sh +++ b/tcwg_bmk-build.sh @@ -484,19 +484,20 @@ EOF the following benchmarks $regressed_by more than ${exe_threshold}%: EOF - while IFS=, read metric bmk symbol short_regression regression; do + local exe + while IFS=, read metric exe symbol short_regression regression; do cat >> $run_step_artifacts/jira-body.txt <<EOF - $regression EOF - if [ -f $run_step_artifacts/$bmk.regression ]; then + if [ -f $run_step_artifacts/$exe.regression ]; then while IFS=, read metric bmk symbol short_regression regression; do cat >> $run_step_artifacts/jira-body.txt <<EOF - $regression EOF - done < $run_step_artifacts/$bmk.regression + done < $run_step_artifacts/$exe.regression # Delete $bmk.regressions so that it doesn't show up # in symbol-regression loop below. - rm $run_step_artifacts/$bmk.regression + rm $run_step_artifacts/$exe.regression fi done < $run_step_artifacts/exe.regressions fi |