scripts/clang-tools: switch explicitly to Python 3
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 2 Feb 2021 06:06:04 +0000 (15:06 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 3 Feb 2021 00:01:08 +0000 (09:01 +0900)
For the same reason as commit 51839e29cb59 ("scripts: switch explicitly
to Python 3"), switch some more scripts, which I tested and confirmed
working on Python 3.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Nathan Chancellor <nathan@kernel.org>
scripts/clang-tools/gen_compile_commands.py
scripts/clang-tools/run-clang-tools.py

index 1996370..8ddb5d0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # SPDX-License-Identifier: GPL-2.0
 #
 # Copyright (C) Google LLC, 2018
index fa7655c..f754415 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # SPDX-License-Identifier: GPL-2.0
 #
 # Copyright (C) Google LLC, 2020