summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Mondelli <andrea.mondelli@ucf.edu>2019-01-10 10:12:41 -0500
committerAndrea Mondelli <Andrea.mondelli@ucf.edu>2019-01-11 17:41:02 +0000
commit3d54f6d42c303a2b17b1a882634444fc1319a9a1 (patch)
tree2e04a72a00fc32889698976e8b91d93798e532b2 /src
parentf3a438e58d836ec283af6eef8bb34b57958303d6 (diff)
downloadgem5-3d54f6d42c303a2b17b1a882634444fc1319a9a1.tar.xz
misc: updated shabang for python script
The default python on MacOS doesn’t have an alias to python2. The official python version supported in gem5 is Python2.7. This patch updates the shabang according to the version required in gem5. Change-Id: I9533c0f7858b5b3cab0ef101be1ee5cd718105b0 Reviewed-on: https://gem5-review.googlesource.com/c/15375 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/systemc/tests/verify.py2
-rwxr-xr-xsrc/unittest/genini.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/tests/verify.py b/src/systemc/tests/verify.py
index def0fdc79..503c11d8b 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 5a4f3454b..f10ad6874 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.
#