From a9423c40c3782b4bc730fae66c0824a44f8e35f9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 23 Feb 2015 12:27:57 +0000 Subject: [PATCH] emails: honour OSSTEST_EMAIL_SUBJECT_PREFIX This is prefixed before the other computed prefixes. It makes it easier to distinguish an adhoc cr-daily-branch test runs for a real branch. Signed-off-by: Ian Jackson --- cri-args-hostlists | 2 +- cri-bisect | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cri-args-hostlists b/cri-args-hostlists index 3e5ef44..ef4cebd 100644 --- a/cri-args-hostlists +++ b/cri-args-hostlists @@ -105,7 +105,7 @@ start_email () { cat $OSSTEST_EMAIL_HEADER fi echo "Message-ID: " - printf 'Subject: %s' "${subject_prefix:-[$branch test] }" + printf 'Subject: %s' "${OSSTEST_EMAIL_SUBJECT_PREFIX}${subject_prefix:-[$branch test] }" local flight_html_dir=$OSSTEST_HTMLPUB_DIR/ local job_html_dir=$OSSTEST_HTML_DIR/ diff --git a/cri-bisect b/cri-bisect index e7ed24b..2cfb49a 100644 --- a/cri-bisect +++ b/cri-bisect @@ -89,7 +89,7 @@ send_bisection_email () { exec 3>tmp/$flight.email cat >&3 $OSSTEST_EMAIL_HEADER$2 cat >&3 <