From 3d54f6d42c303a2b17b1a882634444fc1319a9a1 Mon Sep 17 00:00:00 2001 From: Andrea Mondelli Date: Thu, 10 Jan 2019 10:12:41 -0500 Subject: misc: updated shabang for python script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Jason Lowe-Power Reviewed-by: Andreas Sandberg --- util/style/__init__.py | 2 +- util/style/repo.py | 2 +- util/style/sort_includes.py | 2 +- util/style/style.py | 2 +- util/style/verifiers.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'util/style') diff --git a/util/style/__init__.py b/util/style/__init__.py index 1bc471108..4230079e6 100644 --- a/util/style/__init__.py +++ b/util/style/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/style/repo.py b/util/style/repo.py index 7e3b444c6..d34440596 100644 --- a/util/style/repo.py +++ b/util/style/repo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2016 ARM Limited # All rights reserved diff --git a/util/style/sort_includes.py b/util/style/sort_includes.py index 39b3a13e0..18389253f 100644 --- a/util/style/sort_includes.py +++ b/util/style/sort_includes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2014-2015 ARM Limited # All rights reserved diff --git a/util/style/style.py b/util/style/style.py index 0f58590f5..1e35a7b9d 100644 --- a/util/style/style.py +++ b/util/style/style.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python2 +#! /usr/bin/env python2.7 # Copyright (c) 2014, 2016 ARM Limited # All rights reserved # diff --git a/util/style/verifiers.py b/util/style/verifiers.py index 89247dc4f..33b127a79 100644 --- a/util/style/verifiers.py +++ b/util/style/verifiers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python2.7 # # Copyright (c) 2014, 2016 ARM Limited # All rights reserved -- cgit v1.2.3