samples: task_profiler: Be explicit about python

Update these scripts to explicitly call out python version 2.  Some
distributions have started making /usr/bin/python version 3, and other
distros have expressed a desire to do the same.

Also use the

  #!/usr/bin/env python2

construct instead of an explicit path so that the user can more easily
use their own python install by just placing it earlier in the path

Jira: ZEP-1548
Change-Id: I36dccc652353ba8bd58c483dba3ce61d3643de00
Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
David Brown 2016-12-21 15:45:06 -07:00
parent 8405ce13a1
commit 016e7b2de6
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
#
# Copyright (c) 2016 Intel Corporation.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
#
# Copyright (c) 2016 Intel Corporation.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
#
# Copyright (c) 2016 Intel Corporation.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
#
# Copyright (c) 2016 Intel Corporation.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
#
# Copyright (c) 2016 Intel Corporation.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2
#
# Copyright (c) 2016 Intel Corporation.