summaryrefslogtreecommitdiff
path: root/source4/scripting/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/wscript_build')
-rw-r--r--source4/scripting/wscript_build7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/scripting/wscript_build b/source4/scripting/wscript_build
index 221f03086f..2362a642ff 100644
--- a/source4/scripting/wscript_build
+++ b/source4/scripting/wscript_build
@@ -3,18 +3,17 @@
from samba_utils import MODE_755
sbin_files = None
-bin_files = 'bin/samba-tool'
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
sbin_files = 'bin/upgradeprovision bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns'
- bin_files = bin_files + ' bin/samba_kcc'
if sbin_files:
bld.INSTALL_FILES('${SBINDIR}',
'bin/upgradeprovision bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns',
chmod=MODE_755, python_fixup=True, flat=True)
-bld.INSTALL_FILES('${BINDIR}',
- bin_files,
+if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
+ bld.INSTALL_FILES('${BINDIR}',
+ 'bin/samba-tool bin/samba_kcc',
chmod=MODE_755, python_fixup=True, flat=True)
bld.RECURSE('bin')