scripts/bpf: switch to more portable python3 shebang
diff mbox series

Message ID 20200225205426.6975-1-scott.branden@broadcom.com
State Accepted
Delegated to: BPF Maintainers
Headers show
Series
  • scripts/bpf: switch to more portable python3 shebang
Related show

Commit Message

Scott Branden Feb. 25, 2020, 8:54 p.m. UTC
Change "/usr/bin/python3" to "/usr/bin/env python3" for
more portable solution in bpf_helpers_doc.py.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
---
 scripts/bpf_helpers_doc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Song Liu Feb. 25, 2020, 11:01 p.m. UTC | #1
On Tue, Feb 25, 2020 at 12:55 PM Scott Branden
<scott.branden@broadcom.com> wrote:
>
> Change "/usr/bin/python3" to "/usr/bin/env python3" for
> more portable solution in bpf_helpers_doc.py.
>
> Signed-off-by: Scott Branden <scott.branden@broadcom.com>

Acked-by: Song Liu <songliubraving@fb.com>
Daniel Borkmann Feb. 26, 2020, 3:38 p.m. UTC | #2
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 <scott.branden@broadcom.com>

Applied, thanks!

Patch
diff mbox series

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.