summaryrefslogtreecommitdiff
path: root/lib/subunit
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-06-24 14:33:58 +1000
committerAndrew Tridgell <tridge@samba.org>2010-06-24 18:46:57 +1000
commit4cb423f52737d980132709fe63bc3194b9307880 (patch)
tree1b33af2c2f0ec64d13dad73b92dd77cdb5e68e2c /lib/subunit
parent41cdcd54b7b7e3fb70fdb220e74a1daf30e1891a (diff)
downloadsamba-4cb423f52737d980132709fe63bc3194b9307880.tar.gz
samba-4cb423f52737d980132709fe63bc3194b9307880.tar.bz2
samba-4cb423f52737d980132709fe63bc3194b9307880.zip
s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/subunit')
-rwxr-xr-xlib/subunit/python/subunit/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subunit/python/subunit/run.py b/lib/subunit/python/subunit/run.py
index 01c0b0e9e6..e57939fdfa 100755
--- a/lib/subunit/python/subunit/run.py
+++ b/lib/subunit/python/subunit/run.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Simple subunit testrunner for python
# Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007