]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
scripts: change scripts to use system python instead of env
authorDon Zickus <dzickus@redhat.com>
Tue, 26 Jan 2010 22:20:41 +0000 (22:20 +0000)
committerMichal Marek <mmarek@suse.cz>
Tue, 2 Feb 2010 13:33:56 +0000 (14:33 +0100)
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>
arch/ia64/scripts/unwcheck.py
scripts/rt-tester/rt-tester.py
scripts/show_delta

index c27849889e193f4d3a8479b5e5db470cccc2493d..2bfd941ff7c7cdb5a96622875e5d7507125623b3 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 #
 # Usage: unwcheck.py FILE
 #
index 4c79660793cf31b79f83aec51ac0a9aaaedd5566..44423b4dcb820959b82f6bf126e42a6c6d08f44c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 #
 # rt-mutex tester
 #
index 48a706ab3d0c3d591e4b6758c58852a7a64f8a89..17df3051747a93ee68a75255764408c813f1a14e 100755 (executable)
@@ -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.