2018-05-11 13:56:01 +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
|
2019-01-07 15:55:23 +00:00
|
|
|
index c1c438a1c9f0eae6..b7d3d7bcee87969d 100755
|
2018-05-11 13:56:01 +00:00
|
|
|
--- a/benchtests/scripts/compare_bench.py
|
|
|
|
+++ b/benchtests/scripts/compare_bench.py
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/usr/bin/python
|
|
|
|
+#!/usr/bin/python3
|
2019-01-07 15:55:23 +00:00
|
|
|
# Copyright (C) 2015-2019 Free Software Foundation, Inc.
|
2018-05-11 13:56:01 +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
|
2019-01-07 15:55:23 +00:00
|
|
|
index 7a55d19f038e64d4..72e6034243a8c9b6 100644
|
2018-05-11 13:56:01 +00:00
|
|
|
--- a/benchtests/scripts/import_bench.py
|
|
|
|
+++ b/benchtests/scripts/import_bench.py
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/usr/bin/python
|
|
|
|
+#!/usr/bin/python3
|
2019-01-07 15:55:23 +00:00
|
|
|
# Copyright (C) 2015-2019 Free Software Foundation, Inc.
|
2018-05-11 13:56:01 +00:00
|
|
|
# This file is part of the GNU C Library.
|
|
|
|
#
|
|
|
|
diff --git a/benchtests/scripts/validate_benchout.py b/benchtests/scripts/validate_benchout.py
|
2019-01-07 15:55:23 +00:00
|
|
|
index 55d07c6bce5b5184..04129f9c26c2874c 100755
|
2018-05-11 13:56:01 +00:00
|
|
|
--- a/benchtests/scripts/validate_benchout.py
|
|
|
|
+++ b/benchtests/scripts/validate_benchout.py
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/usr/bin/python
|
|
|
|
+#!/usr/bin/python3
|
2019-01-07 15:55:23 +00:00
|
|
|
# Copyright (C) 2014-2019 Free Software Foundation, Inc.
|
2018-05-11 13:56:01 +00:00
|
|
|
# This file is part of the GNU C Library.
|
|
|
|
#
|