summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-24 16:50:50 +1100
committerAndrew Tridgell <tridge@samba.org>2010-03-25 14:37:19 +1100
commit088096d1bad51428a2e2d487214995d4fdfc7ccc (patch)
treeaa23f81cec36b9eb92f48f56576803a4c8e20d5d /source4/setup
parent845c2281c7513bd3139a8f50b593658b32dbdb31 (diff)
downloadsamba-088096d1bad51428a2e2d487214995d4fdfc7ccc.tar.gz
samba-088096d1bad51428a2e2d487214995d4fdfc7ccc.tar.bz2
samba-088096d1bad51428a2e2d487214995d4fdfc7ccc.zip
python: use '#!/usr/bin/env python' to cope with varying install locations
this should be much more portable
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision2
-rwxr-xr-xsource4/setup/upgrade_from_s32
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 993275930e..d8e2eb244b 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Unix SMB/CIFS implementation.
# provision a Samba4 server
diff --git a/source4/setup/upgrade_from_s3 b/source4/setup/upgrade_from_s3
index b3bf5e7bb7..7f31a0f0e9 100755
--- a/source4/setup/upgrade_from_s3
+++ b/source4/setup/upgrade_from_s3
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Upgrade from Samba3
# Copyright Jelmer Vernooij 2005-2007