Skip to content

Commit

Permalink
scripts: change scripts to use system python instead of env
Browse files Browse the repository at this point in the history
Just a small change to a couple of scripts to go from

 #!/usr/bin/env python

to

 #!/usr/bin/python

This shouldn't effect anyone, unless they don't install python there.

In preparation for python3, Fedora is doing a big push to change the scripts
to use the system python.  This allows developers to put the python3 in
their path without fear of breaking existing scripts.

Now I am pretty sure anyone using python3 for testing purposes will probably
not run any of the scripts I changed, but Fedora has this automated tool
that checks for this stuff so I thought I would try to push it upstream.

Signed-off-by: Don Zickus <[email protected]>
Acked-by: WANG Cong <[email protected]>
Acked-by: Jarod Wilson <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
dzickusrh authored and michal42 committed Feb 2, 2010
1 parent 71d41ae commit 94a4708
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/scripts/unwcheck.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
#
# Usage: unwcheck.py FILE
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/rt-tester/rt-tester.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
#
# rt-mutex tester
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/show_delta
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
#
# show_deltas: Read list of printk messages instrumented with
# time data, and format with time deltas.
Expand Down

0 comments on commit 94a4708

Please sign in to comment.