scripts: Call out python2 explicitly

Many systems these days have both python2 and python3 installed.  The
unversioned executable `python` may point to either version.  Per
https://www.python.org/dev/peps/pep-0394/ , scripts that need Python 2
should explicitly call this out in the shebang line.

These build scripts are both specific to python 2, so call this out in
the shebang line.

Change-Id: I11f70c341e484254dc1679db65c2ed5ac61e510f
Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
David Brown 2015-04-23 14:29:13 -07:00 committed by David Keitel
parent f98d3ccfab
commit 0bba5777ad
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#! /usr/bin/env python
#! /usr/bin/env python2
# Copyright (c) 2009-2014, The Linux Foundation. All rights reserved.
# Copyright (c) 2009-2015, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:

View file

@ -1,7 +1,7 @@
#! /usr/bin/env python
#! /usr/bin/env python2
# -*- coding: utf-8 -*-
# Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
# Copyright (c) 2011-2015, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: