[OE-core] [PATCH] oe-build-perf-report-email.py: fix one file path
Markus Lehtonen
markus.lehtonen at linux.intel.com
Thu Apr 6 07:10:18 UTC 2017
Sending report email was not working correctly if the script was given
an html report path that contained directory components.
Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
---
scripts/contrib/oe-build-perf-report-email.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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):
html_report = None
if args.html:
scrape_html_report(args.html, outdir, args.phantomjs_args)
- html_report = os.path.join(outdir, args.html)
+ html_report = os.path.join(outdir, os.path.basename(args.html))
if args.to:
log.info("Sending email to %s", ', '.join(args.to))
--
2.12.0
More information about the Openembedded-core
mailing list