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:
parent
76004f08f2
commit
87b9f0b87b
45 changed files with 45 additions and 45 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2010-2013 Advanced Micro Devices, Inc.
|
# Copyright (c) 2010-2013 Advanced Micro Devices, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2010-2013 Advanced Micro Devices, Inc.
|
# Copyright (c) 2010-2013 Advanced Micro Devices, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# calc.py
|
# calc.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# calc.py
|
# calc.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
# Copyright (c) 2005 The Regents of The University of Michigan
|
# Copyright (c) 2005 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
# Copyright (c) 2006 The Regents of The University of Michigan
|
# Copyright (c) 2006 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
# Copyright (c) 2006 The Regents of The University of Michigan
|
# Copyright (c) 2006 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2010 Advanced Micro Devices, Inc.
|
# Copyright (c) 2010 Advanced Micro Devices, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
# Copyright (c) 2006 The Regents of The University of Michigan
|
# Copyright (c) 2006 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2012-2013,2015 ARM Limited
|
# Copyright (c) 2012-2013,2015 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2013 - 2015 ARM Limited
|
# Copyright (c) 2013 - 2015 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2013-2014 ARM Limited
|
# Copyright (c) 2013-2014 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2013-2014 ARM Limited
|
# Copyright (c) 2013-2014 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2015 ARM Limited
|
# Copyright (c) 2015 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2014 ARM Limited
|
# Copyright (c) 2014 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2015 ARM Limited
|
# Copyright (c) 2015 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2013-2014 ARM Limited
|
# Copyright (c) 2013-2014 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
# Copyright (c) 2014 ARM Limited
|
# Copyright (c) 2014 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# This file originated from the moz-git-tools repo on GitHub
|
# This file originated from the moz-git-tools repo on GitHub
|
||||||
# (https://github.com/mozilla/moz-git-tools), which contains the
|
# (https://github.com/mozilla/moz-git-tools), which contains the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2015 ARM Limited
|
# Copyright (c) 2015 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 ARM Limited
|
# Copyright (c) 2013 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2011 ARM Limited
|
# Copyright (c) 2011 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2005 The Regents of The University of Michigan
|
# Copyright (c) 2005 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
# Copyright (c) 2005 The Regents of The University of Michigan
|
# Copyright (c) 2005 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
# Copyright (c) 2005 The Regents of The University of Michigan
|
# Copyright (c) 2005 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2013 ARM Limited
|
# Copyright (c) 2013 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
2
util/qdo
2
util/qdo
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2004-2005, 2007 The Regents of The University of Michigan
|
# Copyright (c) 2004-2005, 2007 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
# Copyright (c) 2005-2007 The Regents of The University of Michigan
|
# Copyright (c) 2005-2007 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
# Copyright (c) 2009 The Hewlett-Packard Development Company
|
# Copyright (c) 2009 The Hewlett-Packard Development Company
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2003-2004 The Regents of The University of Michigan
|
# Copyright (c) 2003-2004 The Regents of The University of Michigan
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
# Copyright (c) 2012, 2014 ARM Limited
|
# Copyright (c) 2012, 2014 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 ARM Limited
|
# Copyright (c) 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014-2015 ARM Limited
|
# Copyright (c) 2014-2015 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python2
|
||||||
# Copyright (c) 2014, 2016 ARM Limited
|
# Copyright (c) 2014, 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2016 ARM Limited
|
# Copyright (c) 2014, 2016 ARM Limited
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
Loading…
Reference in a new issue