build: list source of dbwrap_torture directly in def, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 08:05:43 +0000 (10:05 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:26:38 +0000 (20:26 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 0151b0d28b270a3fb516d335e47b5dedb2d9772a..14373a9c3c6cfb33f47ec17994a75894b052eb00 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-DBWRAP_TORTURE_SRC = 'utils/dbwrap_torture.c'
-
 SPLIT_TOKENS_SRC = 'utils/split_tokens.c'
 
 LIBS='ICONV'
@@ -1406,12 +1404,11 @@ bld.SAMBA3_BINARY('dbwrap_tool',
                  popt_samba3''')
 
 bld.SAMBA3_BINARY('dbwrap_torture',
-                 source=DBWRAP_TORTURE_SRC,
+                 source='utils/dbwrap_torture.c',
                  deps='''
                  talloc
                  popt_samba3''',
-                 install=False,
-                 vars=locals())
+                 install=False)
 
 bld.SAMBA3_BINARY('split_tokens',
                  source=SPLIT_TOKENS_SRC,