summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 09:32:05 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:25:00 +0200
commitd346b1a8f5570400b6cae674bfb134cdb892740e (patch)
treed26e37a6bee8009a7c91098ef57823712a06a505
parenta693b32abe019b68f9f711bb3bba98718b7eae49 (diff)
downloadsamba-d346b1a8f5570400b6cae674bfb134cdb892740e.tar.gz
samba-d346b1a8f5570400b6cae674bfb134cdb892740e.tar.bz2
samba-d346b1a8f5570400b6cae674bfb134cdb892740e.zip
build: list source of binary smbpasswd directly in def, remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource3/wscript_build7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index b981fef6ba..44e411008f 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,8 +3,6 @@
from samba_utils import *
import samba_version, samba3
-SMBPASSWD_SRC = '''utils/smbpasswd.c'''
-
PDBEDIT_SRC = '''utils/pdbedit.c'''
SMBGET_SRC = '''utils/smbget.c'''
@@ -1268,14 +1266,13 @@ bld.SAMBA3_BINARY('smbtree',
RPC_NDR_SRVSVC''')
bld.SAMBA3_BINARY('smbpasswd',
- source=SMBPASSWD_SRC,
+ source='utils/smbpasswd.c',
deps='''
talloc
param
pdb
PASSWD_UTIL
- PASSCHANGE''',
- vars=locals())
+ PASSCHANGE''')
bld.SAMBA3_BINARY('pdbedit',
source=PDBEDIT_SRC,