summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2023-05-03 11:57:18 -0400
committerSteve Sakoman <steve@sakoman.com>2023-05-26 04:04:18 -1000
commitdb3f62378c54ebdfbf5cccdba4c83f503372138f (patch)
tree347a9f2238e0cb4e00bd5b2367514d44db42fc97 /scripts
parente145ddefac0cb65072797c13f6067670d4631bfb (diff)
downloadopenembedded-core-contrib-db3f62378c54ebdfbf5cccdba4c83f503372138f.tar.gz
scripts: fix buildstats diff/summary hard bound to host python3
Somehow these two got left behind and hence on older hosts that are using buildtools for a newer python - they will still fail. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f1b11b83a6dd991f393940741c930691463e6d53) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildstats-diff2
-rwxr-xr-xscripts/buildstats-summary2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/buildstats-diff b/scripts/buildstats-diff
index 2f6498ab67..c9aa76a8fa 100755
--- a/scripts/buildstats-diff
+++ b/scripts/buildstats-diff
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
#
# Script for comparing buildstats from two different builds
#
diff --git a/scripts/buildstats-summary b/scripts/buildstats-summary
index f521d78650..b10c671b29 100755
--- a/scripts/buildstats-summary
+++ b/scripts/buildstats-summary
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#!/usr/bin/env python3
#
# Dump a summary of the specified buildstats to the terminal, filtering and
# sorting by walltime.