diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-24 16:50:50 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-03-25 14:37:19 +1100 |
commit | 088096d1bad51428a2e2d487214995d4fdfc7ccc (patch) | |
tree | aa23f81cec36b9eb92f48f56576803a4c8e20d5d /lib/tdb | |
parent | 845c2281c7513bd3139a8f50b593658b32dbdb31 (diff) | |
download | samba-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/tdb')
-rw-r--r-- | lib/tdb/python/tdbdump.py | 2 | ||||
-rw-r--r-- | lib/tdb/python/tests/simple.py | 2 |
2 files changed, 2 insertions, 2 deletions
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. |