summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-24 16:50:50 +1100
committerAndrew Tridgell <tridge@samba.org>2010-03-25 14:37:19 +1100
commit088096d1bad51428a2e2d487214995d4fdfc7ccc (patch)
treeaa23f81cec36b9eb92f48f56576803a4c8e20d5d /lib
parent845c2281c7513bd3139a8f50b593658b32dbdb31 (diff)
downloadsamba-088096d1bad51428a2e2d487214995d4fdfc7ccc.tar.gz
samba-088096d1bad51428a2e2d487214995d4fdfc7ccc.tar.bz2
samba-088096d1bad51428a2e2d487214995d4fdfc7ccc.zip
python: use '#!/usr/bin/env python' to cope with varying install locations
this should be much more portable
Diffstat (limited to 'lib')
-rwxr-xr-xlib/subunit/python/subunit/run.py2
-rw-r--r--lib/tdb/python/tdbdump.py2
-rw-r--r--lib/tdb/python/tests/simple.py2
3 files changed, 3 insertions, 3 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
diff --git a/lib/tdb/python/tdbdump.py b/lib/tdb/python/tdbdump.py
index d759d771c8..01859ebce2 100644
--- a/lib/tdb/python/tdbdump.py
+++ b/lib/tdb/python/tdbdump.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Trivial reimplementation of tdbdump in Python
import tdb, sys
diff --git a/lib/tdb/python/tests/simple.py b/lib/tdb/python/tests/simple.py
index c7443c0d43..1c5982b1a4 100644
--- a/lib/tdb/python/tests/simple.py
+++ b/lib/tdb/python/tests/simple.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Some simple tests for the Python bindings for TDB
# Note that this tests the interface of the Python bindings
# It does not test tdb itself.