From 4cb423f52737d980132709fe63bc3194b9307880 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 24 Jun 2010 14:33:58 +1000 Subject: 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 --- source4/dsdb/samdb/ldb_modules/tests/possibleinferiors.py | 2 +- source4/dsdb/samdb/ldb_modules/tests/samba3sam.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/samdb/ldb_modules/tests/possibleinferiors.py b/source4/dsdb/samdb/ldb_modules/tests/possibleinferiors.py index d797679341..3324d4b7e2 100755 --- a/source4/dsdb/samdb/ldb_modules/tests/possibleinferiors.py +++ b/source4/dsdb/samdb/ldb_modules/tests/possibleinferiors.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Unix SMB/CIFS implementation. # Copyright (C) Andrew Tridgell 2009 diff --git a/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py b/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py index aa428d19e7..59b6e5517c 100644 --- a/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py +++ b/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Unix SMB/CIFS implementation. # Copyright (C) Jelmer Vernooij 2005-2008 -- cgit