[oe-commits] [openembedded-core] 08/30: oe-build-perf-report-email.py: fix one file path

git at git.openembedded.org git at git.openembedded.org
Thu Apr 6 11:40:25 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 72d3ef563e4c050da1a710af842c4b822e2dd5db
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