diff options
author | 2025-02-10 18:11:54 -0700 | |
---|---|---|
committer | 2025-03-15 21:19:44 +0900 | |
commit | 9d702bb1d3c03bb78d4fd2b3424169e3ef4cd402 (patch) | |
tree | aeabe2927070da9be6fa91024e2964159402e8c5 | |
parent | kbuild: rust: add rustc-min-version support function (diff) | |
download | wireguard-linux-9d702bb1d3c03bb78d4fd2b3424169e3ef4cd402.tar.xz wireguard-linux-9d702bb1d3c03bb78d4fd2b3424169e3ef4cd402.zip |
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>
-rwxr-xr-x | scripts/show_delta | 2 | ||||
-rwxr-xr-x | scripts/tracing/draw_functrace.py | 2 |
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 """ |