misc: Update #!env calls for python to explicit version
authorJason Lowe-Power <jason@lowepower.com>
Fri, 10 Feb 2017 15:00:18 +0000 (10:00 -0500)
committerJason Lowe-Power <jason@lowepower.com>
Fri, 10 Feb 2017 15:00:18 +0000 (10:00 -0500)
commit87b9f0b87b748fb8db87e2ff81d74bb76ec4769b
treeace32dd80b4425dcc76f18ff94e9e5a9be014bc8
parent76004f08f26763cd5c1c9053d7981734db74fbd6
misc: Update #!env calls for python to explicit version

In some newer Linux distributions, env python default to Python 3.0. This
patch explicitly uses "python2" instead of just "python" for all scripts
that use #!

Reported-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
45 files changed:
ext/mcpat/regression/regression.py
ext/mcpat/regression/verify_output.py
ext/ply/example/classcalc/calc.py
ext/ply/example/newclasscalc/calc.py
src/unittest/genini.py
tests/testing/__init__.py
tests/testing/helpers.py
tests/testing/results.py
tests/testing/tests.py
tests/testing/units.py
tests/tests.py
util/batch/job.py
util/batch/send.py
util/checkpoint-tester.py
util/compile
util/cpt_upgrader.py
util/decode_inst_dep_trace.py
util/decode_inst_trace.py
util/decode_packet_trace.py
util/dram_lat_mem_rd_plot.py
util/dram_sweep_plot.py
util/encode_inst_dep_trace.py
util/encode_packet_trace.py
util/find_copyrights.py
util/git-pre-commit.py
util/hgstyle.py
util/maint/git-patch-to-hg-patch
util/memtest-soak.py
util/minorview.py
util/o3-pipeview.py
util/oprofile-top.py
util/pbs/job.py
util/pbs/send.py
util/protolib.py
util/qdo
util/regress
util/slicc
util/stats/stats.py
util/streamline/m5stats2streamline.py
util/style.py
util/style/__init__.py
util/style/repo.py
util/style/sort_includes.py
util/style/style.py
util/style/verifiers.py