This is only used in report_flight. We are going to want to call
report_flight from outside start_email, without having to set that
variable ourselves.
The variable isn't actually used in start_email.
Signed-off-by: Ian Jackson <iwj@xenproject.org>
printf '%s\n' "`getconfig EmailStdHeaders`"
printf 'Subject: %s' "${subject_prefix:-[$branch test] }"
- local flight_html_dir=$OSSTEST_HTMLPUB_DIR/
local job_html_dir=$OSSTEST_HTML_DIR/
local host_html_dir=$OSSTEST_HTML_DIR/host/
report_flight () {
local flight=$1
+ local flight_html_dir=$OSSTEST_HTMLPUB_DIR/
./sg-report-flight --html-dir=$flight_html_dir/$flight/ \
--allow=allow.all --allow=allow.$branch \
$sgr_args $flight >tmp/$flight.report