summaryrefslogtreecommitdiff
path: root/source4/scripting/bin
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/bin')
-rwxr-xr-xsource4/scripting/bin/autoidl2
-rwxr-xr-xsource4/scripting/bin/enablerecyclebin2
-rwxr-xr-xsource4/scripting/bin/fullschema2
-rwxr-xr-xsource4/scripting/bin/get-descriptors2
-rwxr-xr-xsource4/scripting/bin/machineaccountccache2
-rwxr-xr-xsource4/scripting/bin/minschema2
-rwxr-xr-xsource4/scripting/bin/rebuildextendeddn2
-rwxr-xr-xsource4/scripting/bin/rpcclient2
-rwxr-xr-xsource4/scripting/bin/samba3dump2
-rwxr-xr-xsource4/scripting/bin/samba_dnsupdate2
-rwxr-xr-xsource4/scripting/bin/smbstatus2
-rwxr-xr-xsource4/scripting/bin/subunitrun2
-rwxr-xr-xsource4/scripting/bin/upgradeprovision2
-rwxr-xr-xsource4/scripting/bin/w32err_code.py2
14 files changed, 14 insertions, 14 deletions
diff --git a/source4/scripting/bin/autoidl b/source4/scripting/bin/autoidl
index eed4ba3a80..313ab4babd 100755
--- a/source4/scripting/bin/autoidl
+++ b/source4/scripting/bin/autoidl
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Unix SMB/CIFS implementation.
diff --git a/source4/scripting/bin/enablerecyclebin b/source4/scripting/bin/enablerecyclebin
index 0d39fe7758..61ad32cd49 100755
--- a/source4/scripting/bin/enablerecyclebin
+++ b/source4/scripting/bin/enablerecyclebin
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# enabled the Recycle Bin optional feature
#
diff --git a/source4/scripting/bin/fullschema b/source4/scripting/bin/fullschema
index 4a01b6aed0..2f7d32c075 100755
--- a/source4/scripting/bin/fullschema
+++ b/source4/scripting/bin/fullschema
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Works out the full schema
#
diff --git a/source4/scripting/bin/get-descriptors b/source4/scripting/bin/get-descriptors
index f22500b0ba..65be2fee6c 100755
--- a/source4/scripting/bin/get-descriptors
+++ b/source4/scripting/bin/get-descriptors
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Unix SMB/CIFS implementation.
# A script to compare differences of security descriotors between
diff --git a/source4/scripting/bin/machineaccountccache b/source4/scripting/bin/machineaccountccache
index 5458851360..7731f5af35 100755
--- a/source4/scripting/bin/machineaccountccache
+++ b/source4/scripting/bin/machineaccountccache
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import optparse
import sys
diff --git a/source4/scripting/bin/minschema b/source4/scripting/bin/minschema
index 43f7816116..6fca074d53 100755
--- a/source4/scripting/bin/minschema
+++ b/source4/scripting/bin/minschema
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Works out the minimal schema for a set of objectclasses
#
diff --git a/source4/scripting/bin/rebuildextendeddn b/source4/scripting/bin/rebuildextendeddn
index 5ae27aa027..eed3a17edf 100755
--- a/source4/scripting/bin/rebuildextendeddn
+++ b/source4/scripting/bin/rebuildextendeddn
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Unix SMB/CIFS implementation.
# Extended attributes (re)building
diff --git a/source4/scripting/bin/rpcclient b/source4/scripting/bin/rpcclient
index aba4f9ddb3..68b33fe638 100755
--- a/source4/scripting/bin/rpcclient
+++ b/source4/scripting/bin/rpcclient
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import sys, os, string
diff --git a/source4/scripting/bin/samba3dump b/source4/scripting/bin/samba3dump
index c11f8dbd0d..0edbf6e8d2 100755
--- a/source4/scripting/bin/samba3dump
+++ b/source4/scripting/bin/samba3dump
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Dump Samba3 data
# Copyright Jelmer Vernooij 2005-2007
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate
index 4fdd10de0a..4d54ab4f4c 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# update our DNS names using TSIG-GSS
#
diff --git a/source4/scripting/bin/smbstatus b/source4/scripting/bin/smbstatus
index a9265ead6a..16559e7ce2 100755
--- a/source4/scripting/bin/smbstatus
+++ b/source4/scripting/bin/smbstatus
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# provide information on connected users and open files
diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun
index 6cd3943786..63afdc7009 100755
--- a/source4/scripting/bin/subunitrun
+++ b/source4/scripting/bin/subunitrun
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Simple subunit testrunner for python
# Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index 180786abe3..0e3f86db77 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# vim: expandtab
#
# Copyright (C) Matthieu Patou <mat@matws.net> 2009
diff --git a/source4/scripting/bin/w32err_code.py b/source4/scripting/bin/w32err_code.py
index cad6f6ecc9..4ca6413e94 100755
--- a/source4/scripting/bin/w32err_code.py
+++ b/source4/scripting/bin/w32err_code.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Unix SMB/CIFS implementation.
# Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009