buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] utils/diffconfig: use python3 explicitly
@ 2021-09-22 19:44 Arnout Vandecappelle (Essensium/Mind)
  2021-09-23 21:43 ` Petr Vorel
  2021-12-29  9:08 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Arnout Vandecappelle (Essensium/Mind) @ 2021-09-22 19:44 UTC (permalink / raw)
  To: buildroot; +Cc: Marcus Folkesson

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@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

_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] utils/diffconfig: use python3 explicitly
  2021-09-22 19:44 [Buildroot] [PATCH] utils/diffconfig: use python3 explicitly Arnout Vandecappelle (Essensium/Mind)
@ 2021-09-23 21:43 ` Petr Vorel
  2021-12-29  9:08 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2021-09-23 21:43 UTC (permalink / raw)
  To: Arnout Vandecappelle (Essensium/Mind); +Cc: Marcus Folkesson, buildroot

Reviewed-by: Petr Vorel <petr.vorel@gmail.com>

Sorry for missing this one, good catch.

Kind regards,
Petr
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] utils/diffconfig: use python3 explicitly
  2021-09-22 19:44 [Buildroot] [PATCH] utils/diffconfig: use python3 explicitly Arnout Vandecappelle (Essensium/Mind)
  2021-09-23 21:43 ` Petr Vorel
@ 2021-12-29  9:08 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2021-12-29  9:08 UTC (permalink / raw)
  To: Arnout Vandecappelle (Essensium/Mind); +Cc: Marcus Folkesson, buildroot

On Wed, 22 Sep 2021 21:44:46 +0200
"Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be> wrote:

> 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@mind.be>
> ---
>  utils/diffconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-29  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 19:44 [Buildroot] [PATCH] utils/diffconfig: use python3 explicitly Arnout Vandecappelle (Essensium/Mind)
2021-09-23 21:43 ` Petr Vorel
2021-12-29  9:08 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).