python: use '#!/usr/bin/env python' to cope with varying install locations
authorAndrew Tridgell <tridge@samba.org>
Thu, 22 Apr 2010 04:27:17 +0000 (13:57 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Apr 2010 04:27:17 +0000 (13:57 +0930)
this should be much more portable

(Imported from commit 088096d1bad51428a2e2d487214995d4fdfc7ccc)

lib/tdb/python/tdbdump.py
lib/tdb/python/tests/simple.py

index d759d771c872661db207a161be7624b06577de4f..01859ebce267baa71edb52fba10bee081dd7c67c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # Trivial reimplementation of tdbdump in Python
 
 import tdb, sys
index c7443c0d433526054190c6ce80d66e4866196cb9..1c5982b1a42bab6c6c74622dd8e674fc77604b23 100644 (file)
@@ -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.