diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-06-24 14:33:58 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-06-24 18:46:57 +1000 |
commit | 4cb423f52737d980132709fe63bc3194b9307880 (patch) | |
tree | 1b33af2c2f0ec64d13dad73b92dd77cdb5e68e2c /source4/scripting/python/examples | |
parent | 41cdcd54b7b7e3fb70fdb220e74a1daf30e1891a (diff) | |
download | samba-4cb423f52737d980132709fe63bc3194b9307880.tar.gz samba-4cb423f52737d980132709fe63bc3194b9307880.tar.bz2 samba-4cb423f52737d980132709fe63bc3194b9307880.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python/examples')
-rw-r--r-- | source4/scripting/python/examples/netbios.py | 2 | ||||
-rwxr-xr-x | source4/scripting/python/examples/samr.py | 2 | ||||
-rwxr-xr-x | source4/scripting/python/examples/winreg.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/python/examples/netbios.py b/source4/scripting/python/examples/netbios.py index 3671076a59..a29b09f051 100644 --- a/source4/scripting/python/examples/netbios.py +++ b/source4/scripting/python/examples/netbios.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Unix SMB/CIFS implementation. # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008 diff --git a/source4/scripting/python/examples/samr.py b/source4/scripting/python/examples/samr.py index c0e3167a97..9b8e31e434 100755 --- a/source4/scripting/python/examples/samr.py +++ b/source4/scripting/python/examples/samr.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- # Unix SMB/CIFS implementation. diff --git a/source4/scripting/python/examples/winreg.py b/source4/scripting/python/examples/winreg.py index 80b48ecfd7..484a69b842 100755 --- a/source4/scripting/python/examples/winreg.py +++ b/source4/scripting/python/examples/winreg.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # tool to manipulate a remote registry # Copyright Andrew Tridgell 2005 |