r8459: move to the more portable script execution method
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Jul 2005 09:51:49 +0000 (09:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:23:05 +0000 (13:23 -0500)
(This used to be commit d7e4dcaaaa37c4992f763e37ca2d655e4d267283)

source4/setup/newuser
source4/setup/provision

index 1a6fbdde2778d59843be38125d21e7cda565a707..5c426e384889caaad7f6a327e931a565c6620c0b 100755 (executable)
@@ -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
index c516b97f2dc4b250cbfaeed409f48d631b30b696..7cd05538b5507698bc79bfcb6fceedfe9c2a3399 100755 (executable)
@@ -1,4 +1,5 @@
-#!/usr/bin/env smbscript
+#!/bin/sh
+exec smbscript "$0" ${1+"$@"}
 /*
        provision a Samba4 server
        Copyright Andrew Tridgell 2005