summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2010-01-26 22:20:41 +0000
committerMichal Marek <mmarek@suse.cz>2010-02-02 14:33:56 +0100
commit94a47083522ec4bcfc03134ebe908f1bfb393057 (patch)
treeec63b4e91a5021dea111ee80c7e9cdf6df1a0a2e /scripts
parent71d41aed9468a1239cff1b2d928954885b09de6c (diff)
downloadlinux-94a47083522ec4bcfc03134ebe908f1bfb393057.tar.gz
linux-94a47083522ec4bcfc03134ebe908f1bfb393057.tar.bz2
linux-94a47083522ec4bcfc03134ebe908f1bfb393057.zip
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rt-tester/rt-tester.py2
-rwxr-xr-xscripts/show_delta2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rt-tester/rt-tester.py b/scripts/rt-tester/rt-tester.py
index 4c79660793cf..44423b4dcb82 100644
--- a/scripts/rt-tester/rt-tester.py
+++ b/scripts/rt-tester/rt-tester.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
#
# rt-mutex tester
#
diff --git a/scripts/show_delta b/scripts/show_delta
index 48a706ab3d0c..17df3051747a 100755
--- a/scripts/show_delta
+++ b/scripts/show_delta
@@ -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.