From: Uday Shankar Date: Tue, 11 Feb 2025 01:11:54 +0000 (-0700) Subject: scripts: make python shebangs specific about desired version X-Git-Tag: v6.15-rc1~11^2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d702bb1d3c03bb78d4fd2b3424169e3ef4cd402;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Masahiro Yamada --- diff --git a/scripts/show_delta b/scripts/show_delta index 291ad65e30894..3755b6c6e5570 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 42fa873009416..97594b65f8ce9 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 """