summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtcwg-report-stale-rr-jobs.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tcwg-report-stale-rr-jobs.sh b/tcwg-report-stale-rr-jobs.sh
index 5bbb7280..6010b686 100755
--- a/tcwg-report-stale-rr-jobs.sh
+++ b/tcwg-report-stale-rr-jobs.sh
@@ -467,17 +467,17 @@ print_suggestions ()
local gitbase="ssh://git.linaro.org/toolchain/ci"
if [ ${#list_err_noproject[@]} -ne 0 ]; then
- echo "1) For deleted projects you may want to DELETE the stored results branches:"
+ echo "1) For deleted projects you may want to DELETE the stored results branches:" |& tee -a $output
tmpdir=/tmp/empty_git
- echo "mkdir -p $tmpdir && cd $tmpdir && git init"
+ echo "mkdir -p $tmpdir && cd $tmpdir && git init" |& tee -a $output
for repo in "${repos[@]}"; do
- echo "git push $gitbase/$repo.git \\"
+ echo "git push $gitbase/$repo.git \\" |& tee -a $output
for br in "${list_err_noproject[@]}"; do
- echo " --delete refs/heads/linaro-local/ci/$br \\"
+ echo " --delete refs/heads/linaro-local/ci/$br \\" |& tee -a $output
done
- echo ""
+ echo "" |& tee -a $output
done
- echo "rm -rf $tmpdir"
+ echo "rm -rf $tmpdir" |& tee -a $output
fi
}
@@ -538,7 +538,7 @@ classify_failures ()
printf " %-28s : %-3s\n" "TOTAL FAILURES" "$count_all" |& tee -a $output
printf "====================================================================================================================================================================\n" |& tee -a $output
printf "SUGGESTIONS : \n" |& tee -a $output
- print_suggestions |& tee -a $output
+ print_suggestions
printf "====================================================================================================================================================================\n" |& tee -a $output
printf "\n" |& tee -a $output