Skip to content

Commit

Permalink
samples: task_profiler: Be explicit about python
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
d3zd3z committed Jan 12, 2017
1 parent 8405ce1 commit 016e7b2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2

#
# Copyright (c) 2016 Intel Corporation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2

#
# Copyright (c) 2016 Intel Corporation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2

#
# Copyright (c) 2016 Intel Corporation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2

#
# Copyright (c) 2016 Intel Corporation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2

#
# Copyright (c) 2016 Intel Corporation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python2

#
# Copyright (c) 2016 Intel Corporation.
Expand Down

0 comments on commit 016e7b2

Please sign in to comment.