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:
parent
8405ce13a1
commit
016e7b2de6
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user