commit:     41f4f6d25019c4f944b8d9576d96482f92231fda
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 01:30:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 03:50:45 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=41f4f6d2

Use '/usr/bin/env python' shebangs

Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/archive-conf                    | 2 +-
 bin/binhost-snapshot                | 2 +-
 bin/check-implicit-pointer-usage.py | 2 +-
 bin/chmod-lite.py                   | 2 +-
 bin/chpathtool.py                   | 2 +-
 bin/clean_locks                     | 2 +-
 bin/dispatch-conf                   | 2 +-
 bin/dohtml.py                       | 2 +-
 bin/doins.py                        | 2 +-
 bin/ebuild                          | 2 +-
 bin/ebuild-ipc.py                   | 2 +-
 bin/egencache                       | 2 +-
 bin/emaint                          | 2 +-
 bin/emerge                          | 2 +-
 bin/emirrordist                     | 2 +-
 bin/env-update                      | 2 +-
 bin/filter-bash-environment.py      | 2 +-
 bin/fixpackages                     | 2 +-
 bin/glsa-check                      | 2 +-
 bin/gpkg-helper.py                  | 2 +-
 bin/install.py                      | 2 +-
 bin/lock-helper.py                  | 2 +-
 bin/portageq                        | 2 +-
 bin/quickpkg                        | 2 +-
 bin/regenworld                      | 2 +-
 bin/shelve-utils                    | 2 +-
 bin/xattr-helper.py                 | 2 +-
 bin/xpak-helper.py                  | 2 +-
 lib/portage/tests/runTests.py       | 2 +-
 lib/portage/util/changelog.py       | 2 +-
 runtests                            | 2 +-
 tabcheck.py                         | 2 +-
 32 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/bin/archive-conf b/bin/archive-conf
index bfc54a629..3b31ebe1a 100755
--- a/bin/archive-conf
+++ b/bin/archive-conf
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/binhost-snapshot b/bin/binhost-snapshot
index afab23592..2201781d6 100755
--- a/bin/binhost-snapshot
+++ b/bin/binhost-snapshot
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2010-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/check-implicit-pointer-usage.py 
b/bin/check-implicit-pointer-usage.py
index a3590e765..61eecd65b 100755
--- a/bin/check-implicit-pointer-usage.py
+++ b/bin/check-implicit-pointer-usage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 
 # Ripped from HP and updated from Debian
 # Update by Gentoo to support unicode output

diff --git a/bin/chmod-lite.py b/bin/chmod-lite.py
index fc2194ed5..602b3600b 100755
--- a/bin/chmod-lite.py
+++ b/bin/chmod-lite.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/chpathtool.py b/bin/chpathtool.py
index 7e9813b92..2d4993716 100755
--- a/bin/chpathtool.py
+++ b/bin/chpathtool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2011-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/clean_locks b/bin/clean_locks
index e5765fd7e..6618f58da 100755
--- a/bin/clean_locks
+++ b/bin/clean_locks
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/dispatch-conf b/bin/dispatch-conf
index f36815a52..a4ca80ba9 100755
--- a/bin/dispatch-conf
+++ b/bin/dispatch-conf
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/dohtml.py b/bin/dohtml.py
index c7235ff4e..e7cfa591e 100755
--- a/bin/dohtml.py
+++ b/bin/dohtml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/doins.py b/bin/doins.py
index 97b0e2e2f..42ea25078 100644
--- a/bin/doins.py
+++ b/bin/doins.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2017-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 #

diff --git a/bin/ebuild b/bin/ebuild
index 0a2b13a13..3ad589008 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py
index c24ba6f58..62e71677b 100755
--- a/bin/ebuild-ipc.py
+++ b/bin/ebuild-ipc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2010-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 #

diff --git a/bin/egencache b/bin/egencache
index fc18b892f..b590a5529 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2009-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/emaint b/bin/emaint
index 5cb667f28..feef8d7e8 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2005-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/emerge b/bin/emerge
index 813d7bae5..33ece427c 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2006-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/emirrordist b/bin/emirrordist
index 3ea08379e..626a055e7 100755
--- a/bin/emirrordist
+++ b/bin/emirrordist
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2013-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/env-update b/bin/env-update
index 6571b0011..f3851afaf 100755
--- a/bin/env-update
+++ b/bin/env-update
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py
index 5ec795999..08b3d23ad 100755
--- a/bin/filter-bash-environment.py
+++ b/bin/filter-bash-environment.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/fixpackages b/bin/fixpackages
index e56d26ec1..eab4b3959 100755
--- a/bin/fixpackages
+++ b/bin/fixpackages
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/glsa-check b/bin/glsa-check
index c8610f7df..165123fd0 100755
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/gpkg-helper.py b/bin/gpkg-helper.py
index d79430212..0ea4c557a 100755
--- a/bin/gpkg-helper.py
+++ b/bin/gpkg-helper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/install.py b/bin/install.py
index d6faeb6a4..e42a8481f 100755
--- a/bin/install.py
+++ b/bin/install.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2013-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/lock-helper.py b/bin/lock-helper.py
index 4f56610c0..1aad84d41 100755
--- a/bin/lock-helper.py
+++ b/bin/lock-helper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2010-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/portageq b/bin/portageq
index d3cb9f140..1c7e27a99 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/quickpkg b/bin/quickpkg
index 27dda85ed..7a3304ca4 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/regenworld b/bin/regenworld
index a5ee1580d..e3577a103 100755
--- a/bin/regenworld
+++ b/bin/regenworld
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/shelve-utils b/bin/shelve-utils
index 83daeccbc..6cfa36a81 100755
--- a/bin/shelve-utils
+++ b/bin/shelve-utils
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/xattr-helper.py b/bin/xattr-helper.py
index 9d519b61c..c134a6d75 100755
--- a/bin/xattr-helper.py
+++ b/bin/xattr-helper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2012-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/bin/xpak-helper.py b/bin/xpak-helper.py
index f656a1357..f900081e8 100755
--- a/bin/xpak-helper.py
+++ b/bin/xpak-helper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2009-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/lib/portage/tests/runTests.py b/lib/portage/tests/runTests.py
index 167b40d5a..6e97bd2e7 100755
--- a/lib/portage/tests/runTests.py
+++ b/lib/portage/tests/runTests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -bWd
+#!/usr/bin/env python -bWd
 # runTests.py -- Portage Unit Test Functionality
 # Copyright 2006-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2

diff --git a/lib/portage/util/changelog.py b/lib/portage/util/changelog.py
index db42de812..ea41b23cf 100644
--- a/lib/portage/util/changelog.py
+++ b/lib/portage/util/changelog.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 # Copyright 2009-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 

diff --git a/runtests b/runtests
index 4a54c0425..bc3105026 100755
--- a/runtests
+++ b/runtests
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # Copyright 2010-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 #

diff --git a/tabcheck.py b/tabcheck.py
index b02e4f052..f8d56cf1e 100755
--- a/tabcheck.py
+++ b/tabcheck.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -b
+#!/usr/bin/env python -b
 
 import sys
 import tabnanny

Reply via email to