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>
This commit is contained in:
Jason Lowe-Power 2017-02-10 10:00:18 -05:00
parent 76004f08f2
commit 87b9f0b87b
45 changed files with 45 additions and 45 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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