scripts/bpf: Switch to more portable python3 shebang
authorScott Branden <scott.branden@broadcom.com>
Tue, 25 Feb 2020 20:54:26 +0000 (12:54 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 26 Feb 2020 14:42:21 +0000 (15:42 +0100)
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>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20200225205426.6975-1-scott.branden@broadcom.com
scripts/bpf_helpers_doc.py

index 90baf7d..cebed6f 100755 (executable)
@@ -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.