[Buildroot] [git commit] utils/diffconfig: use python3 explicitly

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Dec 29 09:07:59 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=50b8d6307f92c26c10b769b58eb867856c5ed78a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Python 2 is EOL sice 2020 [1], it's still available on distros, but may
not be installed by default (as being replaced by python3). A
compatibility symlink python -> python3 may not be installed either.

Convert the shebang line to the usual /usr/bin/env based line.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Reviewed-by: Petr Vorel <petr.vorel at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 utils/diffconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/diffconfig b/utils/diffconfig
index f1af23cfce..f490c5571f 100755
--- a/utils/diffconfig
+++ b/utils/diffconfig
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
 #
 # diffconfig - a tool to compare .config files.
 #



More information about the buildroot mailing list