summaryrefslogtreecommitdiff
path: root/ext/ply
diff options
context:
space:
mode:
authorJason Lowe-Power <jason@lowepower.com>2017-02-10 10:00:18 -0500
committerJason Lowe-Power <jason@lowepower.com>2017-02-10 10:00:18 -0500
commit87b9f0b87b748fb8db87e2ff81d74bb76ec4769b (patch)
treeace32dd80b4425dcc76f18ff94e9e5a9be014bc8 /ext/ply
parent76004f08f26763cd5c1c9053d7981734db74fbd6 (diff)
downloadgem5-87b9f0b87b748fb8db87e2ff81d74bb76ec4769b.tar.xz
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>
Diffstat (limited to 'ext/ply')
-rwxr-xr-xext/ply/example/classcalc/calc.py2
-rwxr-xr-xext/ply/example/newclasscalc/calc.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/ply/example/classcalc/calc.py b/ext/ply/example/classcalc/calc.py
index bf0d065e4..f3591977b 100755
--- a/ext/ply/example/classcalc/calc.py
+++ b/ext/ply/example/classcalc/calc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# -----------------------------------------------------------------------------
# calc.py
diff --git a/ext/ply/example/newclasscalc/calc.py b/ext/ply/example/newclasscalc/calc.py
index a12e498b2..3461f243e 100755
--- a/ext/ply/example/newclasscalc/calc.py
+++ b/ext/ply/example/newclasscalc/calc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# -----------------------------------------------------------------------------
# calc.py