scripts/bpf: switch to more portable python3 shebang
Subsystems (3)
PATCH 1/1 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(-)
scripts/bpf_helpers_doc.py +1 -1
@@ -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.
Signature · 1 line
2.17.1
Quoted 5 lines · Scott Branden
Change "
/usr/bin/python3" to "/usr/bin/envpython3" for more portable solution inbpf_helpers_doc.py.Signed-off-by Scott Branden <[email protected]>
Acked-by Song Liu <[email protected]>
Quoted 4 lines · Scott Branden
Change "
/usr/bin/python3" to "/usr/bin/envpython3" for more portable solution inbpf_helpers_doc.py.Signed-off-by Scott Branden <[email protected]>
Applied, thanks!