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>
This commit is contained in:
Andrea Mondelli
2019-01-10 10:12:41 -05:00
committed by Andrea Mondelli
parent f3a438e58d
commit 3d54f6d42c
49 changed files with 49 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2010-2013 Advanced Micro Devices, Inc.
# All rights reserved.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2010-2013 Advanced Micro Devices, Inc.
# All rights reserved.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# -----------------------------------------------------------------------------
# calc.py

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# -----------------------------------------------------------------------------
# calc.py

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright 2018 Google, Inc.
#

View File

@@ -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.
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
'''
The main source for testlib. Ties together the default test runners and
loaders.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016-2017 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2006 The Regents of The University of Michigan
# All rights reserved.
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2006 The Regents of The University of Michigan
# All rights reserved.
#

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python2.7
# Copyright (c) 2010 Advanced Micro Devices, Inc.
# All rights reserved.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2006 The Regents of The University of Michigan
# All rights reserved.
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2012-2013,2015-2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2013 - 2015 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2013-2014 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2013-2014 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2015 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2013-2014 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
import os
import re

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2017-2018 Metempsy Technology Consulting
# All rights reserved.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python2.7
# Copyright (c) 2014 ARM Limited
# All rights reserved
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2017-2018 Arm Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2018 Advanced Micro Devices, Inc.
# All rights reserved.

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python2.7
# Copyright (c) 2015 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2013 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python2.7
# Copyright (c) 2011 ARM Limited
# All rights reserved

View File

@@ -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.

View File

@@ -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.
#

View File

@@ -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.
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2015 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2014 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2013 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python2.7
# Copyright (c) 2004-2005, 2007 The Regents of The University of Michigan
# All rights reserved.

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python2.7
# Copyright (c) 2005-2007 The Regents of The University of Michigan
# All rights reserved.
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2003-2004 The Regents of The University of Michigan
# All rights reserved.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
# Copyright (c) 2012, 2014 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2016 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2014-2015 ARM Limited
# All rights reserved

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#! /usr/bin/env python2.7
# Copyright (c) 2014, 2016 ARM Limited
# All rights reserved
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python2.7
#
# Copyright (c) 2014, 2016 ARM Limited
# All rights reserved