]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tools: consistently use #!/usr/bin/env python3
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 Jul 2025 10:09:46 +0000 (12:09 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 Jul 2025 10:33:13 +0000 (12:33 +0200)
It's ugly, but it's better to be consistently ugly.

.ycm_extra_conf.py [changed mode: 0644->0755]
src/fuzz/fuzz-bootspec-gen.py
test/integration-tests/integration-test-wrapper.py
tools/analyze-dump-sort.py
tools/check-efi-alignment.py
tools/dump-auxv.py

old mode 100644 (file)
new mode 100755 (executable)
index f297dee..46b5ecd
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # SPDX-License-Identifier: Unlicense
 #
index 99af3f5f699dddeb05021bd0a83badda1967c751..a73e59203bbeb92d465fee346a5e1533b39d3812 100644 (file)
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 """Generate sample input for fuzz-bootspec"""
index 34908e7ed90897b4478ef3f7ce32e36bd31dfb91..6c80c3e6546df4cb32cef1249d08d2f465dec6f8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 """Test wrapper command for driving integration tests."""
index cc9a9fcd379d6420d06842017eb3a77e15eeeea5..a464a14bd1229e34e2f7acac9141a469de28154e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
 # SPDX-License-Identifier: LGPL-2.1-or-later
 # pylint: disable=consider-using-with
 
index 26d5f5e40d8b784ce9deb392356f64e9062f339d..abdeb22fdbdb38a9207040248565e62ee2ab3582 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # SPDX-License-Identifier: LGPL-2.1-or-later
 # vi: set tw=110 sw=4 ts=4 et:
 
index d6dbcb1f0756f22841af36d55e32f4ca6bcd389b..1abacda9c1fab2b63195559468c5883b38cc73df 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
 # SPDX-License-Identifier: LGPL-2.1-or-later
 #
 # Note: the no-value-for-parameter here is expected, as the click module