Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

scripts: change scripts to use system python instead of env

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 <dzickus@redhat.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information...
commit 94a47083522ec4bcfc03134ebe908f1bfb393057 1 parent 71d41ae
Don Zickus authored michal42 committed
2  arch/ia64/scripts/unwcheck.py
... ... @@ -1,4 +1,4 @@
1   -#!/usr/bin/env python
  1 +#!/usr/bin/python
2 2 #
3 3 # Usage: unwcheck.py FILE
4 4 #
2  scripts/rt-tester/rt-tester.py
... ... @@ -1,4 +1,4 @@
1   -#!/usr/bin/env python
  1 +#!/usr/bin/python
2 2 #
3 3 # rt-mutex tester
4 4 #
2  scripts/show_delta
... ... @@ -1,4 +1,4 @@
1   -#!/usr/bin/env python
  1 +#!/usr/bin/python
2 2 #
3 3 # show_deltas: Read list of printk messages instrumented with
4 4 # time data, and format with time deltas.

0 comments on commit 94a4708

Please sign in to comment.
Something went wrong with that request. Please try again.