summaryrefslogtreecommitdiff
path: root/util/maint
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 /util/maint
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 'util/maint')
-rwxr-xr-xutil/maint/git-patch-to-hg-patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/maint/git-patch-to-hg-patch b/util/maint/git-patch-to-hg-patch
index 6819cfcce..1b9e05d09 100755
--- a/util/maint/git-patch-to-hg-patch
+++ b/util/maint/git-patch-to-hg-patch
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# This file originated from the moz-git-tools repo on GitHub
# (https://github.com/mozilla/moz-git-tools), which contains the