94084c
Use python3 for installed executable python scripts.
94084c
94084c
Fedora is a Python3-only distribution:
94084c
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
94084c
94084c
This fixes build failures where builders may strictly enforce only
94084c
python3 during a transitional phase.
94084c
94084c
Author: Carlos O'Donell <carlos@redhat.com>
94084c
94084c
diff --git a/benchtests/scripts/compare_bench.py b/benchtests/scripts/compare_bench.py
94084c
index 6fcbd0803808e5ca..d43db393d63433bc 100755
94084c
--- a/benchtests/scripts/compare_bench.py
94084c
+++ b/benchtests/scripts/compare_bench.py
94084c
@@ -1,4 +1,4 @@
94084c
-#!/usr/bin/python
94084c
+#!/usr/bin/python3
94084c
 # Copyright (C) 2015-2021 Free Software Foundation, Inc.
94084c
 # This file is part of the GNU C Library.
94084c
 #
94084c
diff --git a/benchtests/scripts/import_bench.py b/benchtests/scripts/import_bench.py
94084c
index a799b4e1b7dc6f30..3286e267168e83bf 100644
94084c
--- a/benchtests/scripts/import_bench.py
94084c
+++ b/benchtests/scripts/import_bench.py
94084c
@@ -1,4 +1,4 @@
94084c
-#!/usr/bin/python
94084c
+#!/usr/bin/python3
94084c
 # Copyright (C) 2015-2021 Free Software Foundation, Inc.
94084c
 # This file is part of the GNU C Library.
94084c
 #