s4-python: python is not always in /usr/bin
authorAndrew Tridgell <tridge@samba.org>
Thu, 24 Jun 2010 04:33:58 +0000 (14:33 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 24 Jun 2010 08:46:57 +0000 (18:46 +1000)
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>
67 files changed:
lib/subunit/python/subunit/run.py
source4/auth/credentials/tests/bindings.py
source4/auth/gensec/tests/bindings.py
source4/auth/tests/bindings.py
source4/dsdb/samdb/ldb_modules/tests/possibleinferiors.py
source4/dsdb/samdb/ldb_modules/tests/samba3sam.py
source4/lib/ldb/tests/python/dsdb_schema_info.py
source4/lib/policy/tests/python/bindings.py
source4/librpc/rpc/dcerpc.py
source4/param/tests/bindings.py
source4/script/depfilter.py
source4/scripting/bin/testparm
source4/scripting/python/examples/netbios.py
source4/scripting/python/examples/samr.py
source4/scripting/python/examples/winreg.py
source4/scripting/python/samba/__init__.py
source4/scripting/python/samba/getopt.py
source4/scripting/python/samba/hostconfig.py
source4/scripting/python/samba/idmap.py
source4/scripting/python/samba/ms_display_specifiers.py
source4/scripting/python/samba/ndr.py
source4/scripting/python/samba/netcmd/__init__.py
source4/scripting/python/samba/netcmd/domainlevel.py
source4/scripting/python/samba/netcmd/dsacl.py
source4/scripting/python/samba/netcmd/enableaccount.py
source4/scripting/python/samba/netcmd/export.py
source4/scripting/python/samba/netcmd/fsmo.py
source4/scripting/python/samba/netcmd/group.py
source4/scripting/python/samba/netcmd/join.py
source4/scripting/python/samba/netcmd/machinepw.py
source4/scripting/python/samba/netcmd/netacl.py
source4/scripting/python/samba/netcmd/newuser.py
source4/scripting/python/samba/netcmd/ntacl.py
source4/scripting/python/samba/netcmd/pwsettings.py
source4/scripting/python/samba/netcmd/setexpiry.py
source4/scripting/python/samba/netcmd/setpassword.py
source4/scripting/python/samba/netcmd/time.py
source4/scripting/python/samba/netcmd/user.py
source4/scripting/python/samba/netcmd/vampire.py
source4/scripting/python/samba/ntacls.py
source4/scripting/python/samba/samba3.py
source4/scripting/python/samba/samdb.py
source4/scripting/python/samba/shares.py
source4/scripting/python/samba/tests/__init__.py
source4/scripting/python/samba/tests/dcerpc/__init__.py
source4/scripting/python/samba/tests/dcerpc/bare.py
source4/scripting/python/samba/tests/dcerpc/misc.py
source4/scripting/python/samba/tests/dcerpc/registry.py
source4/scripting/python/samba/tests/dcerpc/rpcecho.py
source4/scripting/python/samba/tests/dcerpc/sam.py
source4/scripting/python/samba/tests/dcerpc/unix.py
source4/scripting/python/samba/tests/dsdb.py
source4/scripting/python/samba/tests/netcmd.py
source4/scripting/python/samba/tests/ntacls.py
source4/scripting/python/samba/tests/provision.py
source4/scripting/python/samba/tests/samba3.py
source4/scripting/python/samba/tests/samdb.py
source4/scripting/python/samba/tests/shares.py
source4/scripting/python/samba/tests/upgrade.py
source4/scripting/python/samba/tests/upgradeprovision.py
source4/scripting/python/samba/tests/upgradeprovisionneeddc.py
source4/scripting/python/samba/tests/xattr.py
source4/scripting/python/samba/upgrade.py
source4/scripting/python/samba/upgradehelpers.py
source4/scripting/python/samba_external/missing.py
source4/torture/libnet/python/samr-test.py
source4/web_server/swat/__init__.py

index 01c0b0e9e6b35911b06db3e3a534769a1cbe41de..e57939fdfa52d8041c549697e7cfdb3cf1c5f11e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Simple subunit testrunner for python
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index 4cb059ddf013372b58aa8575c0a90907180f4acd..5ed61c6b216c04a0b92a5a9c426679773aea8f77 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index cffcc27aec010f51b49535e636372d9adc7bb8bc..21e3fa379a6325de7082e80629208256c443b2d1 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2009
index 58b66d3c985e9f1fddb402c1aff742a099cc6f26..cadfdd0ef7d829fcfdc5edae0ab3859cb27608c5 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index d7976793415b7bdeec2d67a0cc510bcb7c7d7063..3324d4b7e2425f04c71837a88baaf57a1d4bd402 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Andrew Tridgell 2009
index aa428d19e72219c5139e88fdf03d2cbc4e74c6bb..59b6e5517c8b48cf6134459682c82cce452db2f1 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2005-2008
index 4d136aa13e78e8593f0c88620c44d1ae1e194f7a..7a3faba459df8368d0747b2ca72376b36b4dd7ca 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Unix SMB/CIFS implementation.
index 0d6a63bf751472b9cc17ff8445b143825755ce56..b872d99cef10f59ff3cd1e85b158db2a0610899f 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2010
index 1a76ecca8e9234363af07668fbbdd8de4359a96d..7ce423beba6e9ee1fa82e160ed16ed134a0c5c22 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
index 1e393abbcdabde229b59b94027bd127ab6e475c3..34d6544e3cb1a3a88a3059f09e4e3372fb7e549e 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index 74d1d179c722700b02cf6ff43b5fdcd4230e20a9..440b56045713ce67422942d7ce14c056148e6bb2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Filter out arcs in a dotty graph that are at or below a certain
 # node.  This is useful for visualising parts of the dependency graph.
index 471d9e0295cbfb9d8f04b5a0487bf99ada61eea8..c30e46148cc269b6e9c111fc5defd275366f70ac 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # vim: expandtab ft=python
 #
 #   Unix SMB/CIFS implementation.
index 3671076a59325be463420e11540e8b7894115efe..a29b09f051776012291a52950d2287627749024b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
index c0e3167a9794033d7832b3c1d7124542a00aa87b..9b8e31e434b80f5c094506593a97a937aa9536da 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # Unix SMB/CIFS implementation.
index 80b48ecfd7894022202b60173c28a9775d9d7daf..484a69b8424dc5bbb1e295ef60026251eebc778d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 #  tool to manipulate a remote registry
 #  Copyright Andrew Tridgell 2005
index 9899131aa4b6c51d5beab70fec61914e16390a2e..80873dc7797b27c840f093f43c16204d7eb5e82e 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2008
index a9196b48f9fd38ec2efbc76bfd5ec749ca4008b1..29ab8f0e010882e470aa930866aba0a22e33cba9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Samba-specific bits for optparse
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index 313e3420b0d050b9ca186e49c37da62c48ac5399..6eee6cf2b28bf599b4c3ae42c10015bea66ef448 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
index 1cb33fd0a95f10d0654ef525d5f1a396cbbad683..93fca46edd342542f3a8ed6c9659cd9264334646 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) 2008 Kai Blin <kai@samba.org>
index 2a54e4ae0e68d48716db168d9a995633aa1eaec0..fd92b20e664f2e5c48ad94ec4da47af0cc84fad3 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Create DisplaySpecifiers LDIF (as a string) from the documents provided by
 # Microsoft under the WSPP.
index e718ff3422d69fd1655aec6fa1b4142b825b5e55..c9ee6848a396bd1173f318916328bc807f163df7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # Unix SMB/CIFS implementation.
index f51e21a503176915f98ad3ff02dc1b54e1eac38e..6fd72944ec8a9f0d76a073b9532cd4a776e409de 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2009
index 7953ee6d04f33dcd82de1f2934f7917feaf77afb..60cd844498eeb3e3cbfbdd82370ad7dd7c28dc31 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Raises domain and forest function levels
 #
index 0149d375be07a9469f5ca977d481250996fa202a..2d74145709ae5715884d33cd7ad5346e4cbde962 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Manipulate ACLs on directory objects
 #
index 3849f60814e96ac2c30de464c1253a2f7a85d941..d89cbbde9bf42e0217dc36152a6933021004366b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Enables an user account on a Samba4 server
 # Copyright Jelmer Vernooij 2008
index 08fa4bf8dfc4949fdf49f8b8b26e131dffdb502c..5edb318f3e70061a05066425ef5b254a14dd46b9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Export keytab
 #
index 6b421fa214cf059c111b01ef462b63a847f9576c..da7a38236063da48191090bac269d7e9d22fd3f2 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Changes a FSMO role owner
 #
index 41506bb2056b9cd216ff0bf949eb19194c324fcb..3a467fb28ce9bc2c738a232a0c5ff5eb35d3c6a9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Adds a new user to a Samba4 server
 # Copyright Jelmer Vernooij 2008
index 8438f755db07b02495cf33679556c5e7f5d79b52..90bb0775abbe4bb43e3d41fad6f9baba31baac3b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # joins
 # 
index f156f9752ad04f1bf737fff75d81ee0364966fe2..9951dd7c37d501b9a24cb4548fc4eefa837bbc4a 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Machine passwords
 # Copyright Jelmer Vernooij 2010
index 41764a56e1abddd0f0bd2dd44a954c7f73e73e50..3f68ee756cdec24f19555b1b8ba3a43baba59b2b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Manipulate ACLs
 #
index 982b75f7c1916a838b9d946f112cdef4ac9fd570..693568dee275fae849338a3eb2d88d54775f7cf5 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Adds a new user to a Samba4 server
 # Copyright Jelmer Vernooij 2008
index ea6bcb6e37418c016d07792ca2d53f761b88460f..83656587612c65d0109dffc39064cc74282fdf7c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Manipulate file NT ACLs
 #
index 3030248e4bd30ff19ec1d9a920e0df69f5fdb886..f4f827015a840b58e62cba1aa9908c90d7007c40 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Sets password settings.
 # (Password complexity, history length, minimum password length, the minimum
index c424c08ca8b84f074e1ed756c7a8abb63f2f6cbc..bd8ea166fac6d047e51de0e25545b75c240bf9a2 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Sets the user password expiry on a Samba4 server
 # Copyright Jelmer Vernooij 2008
index d51e8ea42a450db2f5ef8b6100c459d00fa17b0e..d4451d4d8f9a11f38c40ff8c14928d348f388ceb 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Sets a user password on a Samba4 server
 # Copyright Jelmer Vernooij 2008
index 710f4b6d15e6262e5b7e08308765a9194764f405..0286f9d10038f367713258071a3e40cdc9d96b14 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # time
 #
index bf63b49b90577dd1be8e681804e21122c82eae81..aac7798de8b2aafa46ef9d95c949b87f43542fdb 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # user management
 #
index ffcfbce3d077327d6364fd503db09f97dce6623e..0bc8fcb7c668c08ec4d36d329007112b44901d0c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Vampire
 #
index bbb792521e9d2c88908bcf35567881e24ffc4cc3..bccc7b6b72464ae010c75b9ee0f45ec6db9eba53 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Matthieu Patou <mat@matws.net> 2009-2010
index 987367990d4863b3422bda82ec8c2987a97208f9..42e9f9b335219ecf20df887a8659c3d14d4420f5 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index ef31d28a8febbdf411a84ec8c9f187daf74e44eb..34d560699376b9073e56c39ce4a64527ab718cbc 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2010
index b6ddeb35a1175a23501e06a34c5f7589da27055f..17780cfd20229b5181b90915b71c94de8d1badb6 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2009
index 0583f8856a4fb8881c8917052aaa6d548e8dac79..cee3397ba680a055ace6ecfbcb7cf0b5d4ed4ae4 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2008
index e2b9b3f001a688498f8f8913763646b1e6de062b..9e198460a3468b0c6195f34acea0e37d82c3506c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # Unix SMB/CIFS implementation.
index 4051052b0c2cde393f9ebba82a3abd16fa1999a7..c3679fef86d9ac33e52db1f47faa1c77193965de 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # Unix SMB/CIFS implementation.
index 2adf86aa9e5e5ab734ee316fe1dc59a3695e53d3..3526d74deea1dcea45ceb9f1e411f0e5a4888629 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index 5ff256ed016a197d79eac9e7eae33941ea1a2546..7b0cb5f60b88ba92efc058f49e3ab649b8d38d29 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
index f1f765c990569267b0ab5a8bb365078d22a131d4..726ba849c352c5433c0947eb0df384df9f995f2a 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
index df943a11ba205d0aaaf24d1ca2eac6d2bf1a9fd7..4ae5fd85b398efb43e2f1becdce8e5d6256736f1 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # Unix SMB/CIFS implementation.
index 7a3e715685e8a5fba77c3aad29d2dc0d2bfa4f65..bd1fd6d95f6a8227b7e3ff3ee6dd0167ed20ccdc 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
index 00dc6644cbf1245eb32ef926bebab51c01a481ba..c19dbaab47adae1b97c61a29ea0e014c58cc8270 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation. Tests for dsdb 
 # Copyright (C) Matthieu Patou <mat@matws.net> 2010
index 4b911facf1f492d47bf304caa31955a821ad382a..4d83f2e781e48f89d226b7ce6537c46c13629485 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2009
index 4799ac6edd13f1acf101465863b3344de514fb7c..06fa1d8f8326be5fde32c2e5520663b669ae2964 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation. Tests for ntacls manipulation
 # Copyright (C) Matthieu Patou <mat@matws.net> 2009-2010
index aa08d1a195f0dbc774e35476d308b442d8ec9d1d..37b256a92502a876df625e95dea796d8a1ed4ecd 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2008
index f81ef486c0ab52681fcad85f7fd42bdbc71858ed..1a85082af98ddc09bdeea83a3e5ed6dadb158d0d 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index 0ad53cc779ae833686d27d9875ca1beb79a08ef6..28745a2ce374650dacfaa85f5dd61f7e961c6e9d 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation. Tests for SamDB
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
index 10f17503e5932079ed0df75529e807b346058911..c01e63c7985ab0a67b927ad8f093e51aa323e044 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation. Tests for shares
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2009
index 56180071f8f2a1a73deac52edf293808870fed53..f49a0c55307d68239e4e4869d70b72bf6864f4a8 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
index e40262b37a168be9d41fce8e9d504223eea266c7..c819397513a71623e95dc154ecc60b750bd5841f 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2008
index e400e17168ab6c5ad6ee3ecebeefc8c51c061ca8..b32ffc6155da3e8f7004d19d8ad5d67d8a73932c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2008
index 32999984ea2e98aaadf98d352b35beda321c833a..ad35b5156d3846cddde1492df39a8e92fa00c6c0 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Unix SMB/CIFS implementation. Tests for xattr manipulation
 # Copyright (C) Matthieu Patou <mat@matws.net> 2009
index c2134ddc70e4a00edaabf6fe3cdad6f8390a3780..84aaba2c552bb3145999266cad140f653e5d43fe 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 #    backend code for upgrading from Samba3
 #    Copyright Jelmer Vernooij 2005-2007
index 58907458ed9866f0acc7c491f7ef9170eb7221c6..377ac290b7ade747563bc71ca4aad2c93d5b723d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Helpers for provision stuff
 # Copyright (C) Matthieu Patou <mat@matws.net> 2009-2010
index d3dd2b9290f46744f7c7f4b0d3b327db4ac6ad6e..d63dbb6f6ab77aa94d5bbb85756751d43bbb6d99 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # work out what python external libraries we need to install
 external_libs = {
index 211792c1db93d91dca1e54e6c2e81215c7e80b91..a63236b7e6081373d89e28a73bada2d64a0c963a 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Unix SMB/CIFS implementation.
index d434bb260b0243fd49e79088f3151fa9198c86c6..ea28e9422af0b56fadc76ca745d3e40123649e0b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # Unix SMB/CIFS implementation.