summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorUday Shankar <ushankar@purestorage.com>2025-02-10 18:11:54 -0700
committerMasahiro Yamada <masahiroy@kernel.org>2025-03-15 21:19:44 +0900
commit9d702bb1d3c03bb78d4fd2b3424169e3ef4cd402 (patch)
treeaeabe2927070da9be6fa91024e2964159402e8c5 /scripts
parentac954145e1ee3f72033161cbe4ac0b16b5354ae7 (diff)
scripts: make python shebangs specific about desired version
The RPM packaging tools like to make sure that all packaged python scripts have version-unambiguous shebangs. Be more specific about the desired python version in a couple of places to avoid having to disable these checks in make rpm-pkg. Signed-off-by: Uday Shankar <ushankar@purestorage.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/show_delta2
-rwxr-xr-xscripts/tracing/draw_functrace.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/show_delta b/scripts/show_delta
index 291ad65e3089..3755b6c6e557 100755
--- a/scripts/show_delta
+++ b/scripts/show_delta
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-only
#
# show_deltas: Read list of printk messages instrumented with
diff --git a/scripts/tracing/draw_functrace.py b/scripts/tracing/draw_functrace.py
index 42fa87300941..97594b65f8ce 100755
--- a/scripts/tracing/draw_functrace.py
+++ b/scripts/tracing/draw_functrace.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-only
"""