2020-02-25 20:56:12

by Scott Branden

[permalink] [raw]
Subject: [PATCH] scripts/bpf: switch to more portable python3 shebang

Change "/usr/bin/python3" to "/usr/bin/env python3" for
more portable solution in bpf_helpers_doc.py.

Signed-off-by: Scott Branden <[email protected]>
---
scripts/bpf_helpers_doc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bpf_helpers_doc.py b/scripts/bpf_helpers_doc.py
index 90baf7d70911..cebed6fb5bbb 100755
--- a/scripts/bpf_helpers_doc.py
+++ b/scripts/bpf_helpers_doc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2018-2019 Netronome Systems, Inc.
--
2.17.1


2020-02-25 23:02:09

by Song Liu

[permalink] [raw]
Subject: Re: [PATCH] scripts/bpf: switch to more portable python3 shebang

On Tue, Feb 25, 2020 at 12:55 PM Scott Branden
<[email protected]> wrote:
>
> Change "/usr/bin/python3" to "/usr/bin/env python3" for
> more portable solution in bpf_helpers_doc.py.
>
> Signed-off-by: Scott Branden <[email protected]>

Acked-by: Song Liu <[email protected]>

2020-02-26 15:39:52

by Daniel Borkmann

[permalink] [raw]
Subject: Re: [PATCH] scripts/bpf: switch to more portable python3 shebang

On 2/25/20 9:54 PM, Scott Branden wrote:
> Change "/usr/bin/python3" to "/usr/bin/env python3" for
> more portable solution in bpf_helpers_doc.py.
>
> Signed-off-by: Scott Branden <[email protected]>

Applied, thanks!