Skip to contentSkip to conversation

utils/diffconfig: use python3 explicitly

PATCH Applied Arnout Vandecappelle (Essensium/Mind) 3 participants 3 messages Sep 22, 2021 – Dec 29, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils/diffconfig: use python3 explicitly

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.

---
 utils/diffconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/diffconfig +1 -1
index f1af23cfce..f490c5571f 100755
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
 #
 # diffconfig - a tool to compare .config files.
 #
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Arnout Vandecappelle (Essensium/Mind)
Quoted 10 lines · On Wed, 22 Sep 2021 21:44:46 +0200 "Arnout Vandecappelle (Essensium/Mind)"…

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.

---
 utils/diffconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot