diff mbox series

utils/diffconfig: use python3 explicitly

Message ID 20210922194446.925494-1-arnout@mind.be
State Accepted
Headers show
Series utils/diffconfig: use python3 explicitly | expand

Commit Message

Arnout Vandecappelle Sept. 22, 2021, 7:44 p.m. UTC
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(-)

Comments

Petr Vorel Sept. 23, 2021, 9:43 p.m. UTC | #1
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>

Sorry for missing this one, good catch.

Kind regards,
Petr
Thomas Petazzoni Dec. 29, 2021, 9:08 a.m. UTC | #2
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
diff mbox series

Patch

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