summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/oe-build-perf-report-email.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-04-06 10:10:18 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-10 23:00:42 +0100
commitf81a532dd65ba5148b7072231ed85361dbad7a2c (patch)
treecc99bc4aaaa7b13f9fcad6bbb961250cd7ed60fc /scripts/contrib/oe-build-perf-report-email.py
parent36b2865318c78d0d79cca8aafb06c4e993a00471 (diff)
downloadpoky-f81a532dd65ba5148b7072231ed85361dbad7a2c.tar.gz
oe-build-perf-report-email.py: fix one file path
Sending report email was not working correctly if the script was given an html report path that contained directory components. (From OE-Core rev: 1da641661bb5963fcbd7ac2c20bc997c3eae6f18) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/oe-build-perf-report-email.py')
-rwxr-xr-xscripts/contrib/oe-build-perf-report-email.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/contrib/oe-build-perf-report-email.py b/scripts/contrib/oe-build-perf-report-email.py
index 7f4274efed..81b58ab020 100755
--- a/scripts/contrib/oe-build-perf-report-email.py
+++ b/scripts/contrib/oe-build-perf-report-email.py
@@ -243,7 +243,7 @@ def main(argv=None):
243 html_report = None 243 html_report = None
244 if args.html: 244 if args.html:
245 scrape_html_report(args.html, outdir, args.phantomjs_args) 245 scrape_html_report(args.html, outdir, args.phantomjs_args)
246 html_report = os.path.join(outdir, args.html) 246 html_report = os.path.join(outdir, os.path.basename(args.html))
247 247
248 if args.to: 248 if args.to:
249 log.info("Sending email to %s", ', '.join(args.to)) 249 log.info("Sending email to %s", ', '.join(args.to))