summaryrefslogtreecommitdiffstats
path: root/scripts/contrib
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-08 22:48:04 +0100
commit1da641661bb5963fcbd7ac2c20bc997c3eae6f18 (patch)
tree728ea60996614a5477f79feb59eddca1ba85f639 /scripts/contrib
parent301dc9df16cce1f4649f90af47159bc21be0de59 (diff)
downloadopenembedded-core-1da641661bb5963fcbd7ac2c20bc997c3eae6f18.tar.gz
openembedded-core-1da641661bb5963fcbd7ac2c20bc997c3eae6f18.tar.bz2
openembedded-core-1da641661bb5963fcbd7ac2c20bc997c3eae6f18.zip
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. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
-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):
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))