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