summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 09:51:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:05 -0500
commit8858542b2691e26e1dfea60b4d1073a81df92fc5 (patch)
tree80addcc26cd3d6fc1e4ef3a3fd3e4255669f81ce
parentc4173f67255f1c620d944bf68d34d577ab433ef1 (diff)
downloadsamba-8858542b2691e26e1dfea60b4d1073a81df92fc5.tar.gz
samba-8858542b2691e26e1dfea60b4d1073a81df92fc5.tar.bz2
samba-8858542b2691e26e1dfea60b4d1073a81df92fc5.zip
r8459: move to the more portable script execution method
(This used to be commit d7e4dcaaaa37c4992f763e37ca2d655e4d267283)
-rwxr-xr-xsource4/setup/newuser3
-rwxr-xr-xsource4/setup/provision3
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/setup/newuser b/source4/setup/newuser
index 1a6fbdde27..5c426e3848 100755
--- a/source4/setup/newuser
+++ b/source4/setup/newuser
@@ -1,4 +1,5 @@
-#!/usr/bin/env smbscript
+#!/bin/sh
+exec smbscript "$0" ${1+"$@"}
/*
add a new user to a Samba4 server
Copyright Andrew Tridgell 2005
diff --git a/source4/setup/provision b/source4/setup/provision
index c516b97f2d..7cd05538b5 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -1,4 +1,5 @@
-#!/usr/bin/env smbscript
+#!/bin/sh
+exec smbscript "$0" ${1+"$@"}
/*
provision a Samba4 server
Copyright Andrew Tridgell 2005