From 088096d1bad51428a2e2d487214995d4fdfc7ccc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 24 Mar 2010 16:50:50 +1100 Subject: python: use '#!/usr/bin/env python' to cope with varying install locations this should be much more portable --- lib/subunit/python/subunit/run.py | 2 +- lib/tdb/python/tdbdump.py | 2 +- lib/tdb/python/tests/simple.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 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. -- cgit