[oe-commits] [openembedded-core] 02/43: oe-build-perf-report-email.py: fix one file path
git at git.openembedded.org
git at git.openembedded.org
Sat Apr 8 21:48:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 1da641661bb5963fcbd7ac2c20bc997c3eae6f18
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Thu Apr 6 10:10:18 2017 +0300
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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 7f4274e..81b58ab 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))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list