summaryrefslogtreecommitdiff
path: root/ext
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 /ext
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 'ext')
-rwxr-xr-xext/mcpat/regression/regression.py2
-rw-r--r--ext/mcpat/regression/verify_output.py2
-rwxr-xr-xext/ply/example/classcalc/calc.py2
-rwxr-xr-xext/ply/example/newclasscalc/calc.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/mcpat/regression/regression.py b/ext/mcpat/regression/regression.py
index 0115a5625..ddfa81b99 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 aaa75929f..83e3e8960 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 f3591977b..b0712fc45 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 3461f243e..5a8db84fc 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