[Buildroot] [PATCH] utils/diffconfig: use python3 explicitly

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Wed Sep 22 19:44:46 UTC 2021


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>
---
 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.
 #
-- 
2.31.1



More information about the buildroot mailing list