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/scripting/python/examples/netbios.py | 2 +- source4/scripting/python/examples/samr.py | 2 +- source4/scripting/python/examples/winreg.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/scripting/python/examples') 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 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 -- cgit