diff --git a/ext/mcpat/regression/regression.py b/ext/mcpat/regression/regression.py index 0115a56256..ddfa81b990 100755 --- a/ext/mcpat/regression/regression.py +++ b/ext/mcpat/regression/regression.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2010-2013 Advanced Micro Devices, Inc. # All rights reserved. diff --git a/ext/mcpat/regression/verify_output.py b/ext/mcpat/regression/verify_output.py index aaa75929f6..83e3e89602 100644 --- a/ext/mcpat/regression/verify_output.py +++ b/ext/mcpat/regression/verify_output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2010-2013 Advanced Micro Devices, Inc. # All rights reserved. diff --git a/ext/ply/example/classcalc/calc.py b/ext/ply/example/classcalc/calc.py index f3591977b6..b0712fc452 100755 --- a/ext/ply/example/classcalc/calc.py +++ b/ext/ply/example/classcalc/calc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # ----------------------------------------------------------------------------- # calc.py diff --git a/ext/ply/example/newclasscalc/calc.py b/ext/ply/example/newclasscalc/calc.py index 3461f243e9..5a8db84fc1 100755 --- a/ext/ply/example/newclasscalc/calc.py +++ b/ext/ply/example/newclasscalc/calc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # ----------------------------------------------------------------------------- # calc.py diff --git a/src/systemc/tests/verify.py b/src/systemc/tests/verify.py index def0fdc791..503c11d8b3 100755 --- a/src/systemc/tests/verify.py +++ b/src/systemc/tests/verify.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright 2018 Google, Inc. # diff --git a/src/unittest/genini.py b/src/unittest/genini.py index 5a4f3454b2..f10ad6874f 100755 --- a/src/unittest/genini.py +++ b/src/unittest/genini.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2005 The Regents of The University of Michigan # All rights reserved. # diff --git a/tests/main.py b/tests/main.py index c8dc9b9613..509724ed74 100755 --- a/tests/main.py +++ b/tests/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 ''' The main source for testlib. Ties together the default test runners and loaders. diff --git a/tests/testing/__init__.py b/tests/testing/__init__.py index 1bc471108f..4230079e6b 100644 --- a/tests/testing/__init__.py +++ b/tests/testing/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/testing/helpers.py b/tests/testing/helpers.py index 29c6bf5eaa..70e6dfb01a 100755 --- a/tests/testing/helpers.py +++ b/tests/testing/helpers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/testing/results.py b/tests/testing/results.py index 4e07078603..8cb3811df8 100644 --- a/tests/testing/results.py +++ b/tests/testing/results.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/testing/tests.py b/tests/testing/tests.py index 123d3b1a4d..00f3e5a12b 100755 --- a/tests/testing/tests.py +++ b/tests/testing/tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016-2017 ARM Limited # All rights reserved diff --git a/tests/testing/units.py b/tests/testing/units.py index 220cf61f6a..90918aea55 100644 --- a/tests/testing/units.py +++ b/tests/testing/units.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/tests/tests.py b/tests/tests.py index a57a972286..9967669e04 100755 --- a/tests/tests.py +++ b/tests/tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/batch/job.py b/util/batch/job.py index 471b882514..02e1fdcc71 100755 --- a/util/batch/job.py +++ b/util/batch/job.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2006 The Regents of The University of Michigan # All rights reserved. # diff --git a/util/batch/send.py b/util/batch/send.py index 44a4f2879c..7707a0e32e 100755 --- a/util/batch/send.py +++ b/util/batch/send.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2006 The Regents of The University of Michigan # All rights reserved. # diff --git a/util/checkpoint-tester.py b/util/checkpoint-tester.py index bec4709fcd..e7bd45e24a 100755 --- a/util/checkpoint-tester.py +++ b/util/checkpoint-tester.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2010 Advanced Micro Devices, Inc. # All rights reserved. diff --git a/util/compile b/util/compile index f3040f7949..a069f55672 100755 --- a/util/compile +++ b/util/compile @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2006 The Regents of The University of Michigan # All rights reserved. # diff --git a/util/cpt_upgrader.py b/util/cpt_upgrader.py index 59a4689891..29a34131f6 100755 --- a/util/cpt_upgrader.py +++ b/util/cpt_upgrader.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2012-2013,2015-2016 ARM Limited # All rights reserved diff --git a/util/decode_inst_dep_trace.py b/util/decode_inst_dep_trace.py index 956a16133e..5e8900187c 100755 --- a/util/decode_inst_dep_trace.py +++ b/util/decode_inst_dep_trace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2013 - 2015 ARM Limited # All rights reserved diff --git a/util/decode_inst_trace.py b/util/decode_inst_trace.py index ff5c73386b..d8299b05f4 100755 --- a/util/decode_inst_trace.py +++ b/util/decode_inst_trace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2013-2014 ARM Limited # All rights reserved diff --git a/util/decode_packet_trace.py b/util/decode_packet_trace.py index 9ef9b5fa9d..6a4b386795 100755 --- a/util/decode_packet_trace.py +++ b/util/decode_packet_trace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2013-2014 ARM Limited # All rights reserved diff --git a/util/encode_inst_dep_trace.py b/util/encode_inst_dep_trace.py index d8d5ba1435..ba8ca9183a 100755 --- a/util/encode_inst_dep_trace.py +++ b/util/encode_inst_dep_trace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2015 ARM Limited # All rights reserved diff --git a/util/encode_packet_trace.py b/util/encode_packet_trace.py index c4d4616648..048071459f 100755 --- a/util/encode_packet_trace.py +++ b/util/encode_packet_trace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2013-2014 ARM Limited # All rights reserved diff --git a/util/find_copyrights.py b/util/find_copyrights.py index 8a12bc3b18..39ac19164f 100644 --- a/util/find_copyrights.py +++ b/util/find_copyrights.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 import os import re diff --git a/util/gen_arm_fs_files.py b/util/gen_arm_fs_files.py index bb8449a8d8..45c36ee2ed 100755 --- a/util/gen_arm_fs_files.py +++ b/util/gen_arm_fs_files.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2017-2018 Metempsy Technology Consulting # All rights reserved. diff --git a/util/git-pre-commit.py b/util/git-pre-commit.py index 1b93069da5..db515f5ba1 100755 --- a/util/git-pre-commit.py +++ b/util/git-pre-commit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/hgstyle.py b/util/hgstyle.py index da0cdeb90e..9e199b7953 100755 --- a/util/hgstyle.py +++ b/util/hgstyle.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2014 ARM Limited # All rights reserved # diff --git a/util/maint/list_changes.py b/util/maint/list_changes.py index 3d9be8d6b4..c27aab1fb8 100755 --- a/util/maint/list_changes.py +++ b/util/maint/list_changes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2017-2018 Arm Limited # All rights reserved diff --git a/util/maint/show_changes_by_file.py b/util/maint/show_changes_by_file.py index f4f9a9630c..cc863ceee4 100755 --- a/util/maint/show_changes_by_file.py +++ b/util/maint/show_changes_by_file.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2018 Advanced Micro Devices, Inc. # All rights reserved. diff --git a/util/memtest-soak.py b/util/memtest-soak.py index b61d1c5b72..3913b0d602 100755 --- a/util/memtest-soak.py +++ b/util/memtest-soak.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2015 ARM Limited # All rights reserved diff --git a/util/minorview.py b/util/minorview.py index 39c6331799..87f9c7285a 100755 --- a/util/minorview.py +++ b/util/minorview.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2013 ARM Limited # All rights reserved diff --git a/util/o3-pipeview.py b/util/o3-pipeview.py index 08fd8d334e..fedafd449a 100755 --- a/util/o3-pipeview.py +++ b/util/o3-pipeview.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2011 ARM Limited # All rights reserved diff --git a/util/oprofile-top.py b/util/oprofile-top.py index f644406464..b678dd60d6 100755 --- a/util/oprofile-top.py +++ b/util/oprofile-top.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2005 The Regents of The University of Michigan # All rights reserved. diff --git a/util/pbs/job.py b/util/pbs/job.py index 4c400310c1..8247218a55 100755 --- a/util/pbs/job.py +++ b/util/pbs/job.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2005 The Regents of The University of Michigan # All rights reserved. # diff --git a/util/pbs/send.py b/util/pbs/send.py index 62ab2e5b99..d5136502b0 100755 --- a/util/pbs/send.py +++ b/util/pbs/send.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2005 The Regents of The University of Michigan # All rights reserved. # diff --git a/util/plot_dram/dram_lat_mem_rd_plot.py b/util/plot_dram/dram_lat_mem_rd_plot.py index 422b14049d..bdfc3b4d7b 100755 --- a/util/plot_dram/dram_lat_mem_rd_plot.py +++ b/util/plot_dram/dram_lat_mem_rd_plot.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2015 ARM Limited # All rights reserved diff --git a/util/plot_dram/dram_sweep_plot.py b/util/plot_dram/dram_sweep_plot.py index 5eb18b95aa..3cef209ec6 100755 --- a/util/plot_dram/dram_sweep_plot.py +++ b/util/plot_dram/dram_sweep_plot.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2014 ARM Limited # All rights reserved diff --git a/util/protolib.py b/util/protolib.py index 1e442f1d90..5010483697 100644 --- a/util/protolib.py +++ b/util/protolib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2013 ARM Limited # All rights reserved diff --git a/util/qdo b/util/qdo index 9ec9b8f520..8008a40c47 100755 --- a/util/qdo +++ b/util/qdo @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2004-2005, 2007 The Regents of The University of Michigan # All rights reserved. diff --git a/util/regress b/util/regress index da71e65758..873d9cc85e 100755 --- a/util/regress +++ b/util/regress @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2005-2007 The Regents of The University of Michigan # All rights reserved. # diff --git a/util/slicc b/util/slicc index b4ccec0d8a..e8408f1eff 100755 --- a/util/slicc +++ b/util/slicc @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2009 The Hewlett-Packard Development Company # All rights reserved. # diff --git a/util/stats/stats.py b/util/stats/stats.py index 209108c77b..6650f0ed83 100755 --- a/util/stats/stats.py +++ b/util/stats/stats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2003-2004 The Regents of The University of Michigan # All rights reserved. diff --git a/util/streamline/m5stats2streamline.py b/util/streamline/m5stats2streamline.py index 816d042dcc..98aa1a861f 100755 --- a/util/streamline/m5stats2streamline.py +++ b/util/streamline/m5stats2streamline.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # Copyright (c) 2012, 2014 ARM Limited # All rights reserved diff --git a/util/style.py b/util/style.py index 1dd7af34e9..44e53fd1fc 100755 --- a/util/style.py +++ b/util/style.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/style/__init__.py b/util/style/__init__.py index 1bc471108f..4230079e6b 100644 --- a/util/style/__init__.py +++ b/util/style/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/style/repo.py b/util/style/repo.py index 7e3b444c69..d34440596d 100644 --- a/util/style/repo.py +++ b/util/style/repo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/style/sort_includes.py b/util/style/sort_includes.py index 39b3a13e0b..18389253f1 100644 --- a/util/style/sort_includes.py +++ b/util/style/sort_includes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2014-2015 ARM Limited # All rights reserved diff --git a/util/style/style.py b/util/style/style.py index 0f58590f5c..1e35a7b9d8 100644 --- a/util/style/style.py +++ b/util/style/style.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2014, 2016 ARM Limited # All rights reserved # diff --git a/util/style/verifiers.py b/util/style/verifiers.py index 89247dc4fe..33b127a79c 100644 --- a/util/style/verifiers.py +++ b/util/style/verifiers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2014, 2016 ARM Limited # All rights reserved