From c24240bcd2f833321f45ea4ce0b6c6d080a3b990 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 6 Oct 2010 20:11:01 +1100 Subject: waf: fixed some python3.x portability issues these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild? --- source4/setup/wscript_build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/setup/wscript_build') diff --git a/source4/setup/wscript_build b/source4/setup/wscript_build index f337e6f526..241e8b8686 100644 --- a/source4/setup/wscript_build +++ b/source4/setup/wscript_build @@ -1,9 +1,11 @@ #!/usr/bin/env python +from samba_utils import MODE_755 + bld.INSTALL_WILDCARD('${SETUPDIR}', 'ad-schema/*.txt') bld.INSTALL_WILDCARD('${SETUPDIR}', 'display-specifiers/*.txt') -bld.INSTALL_FILES('${SBINDIR}', 'provision', chmod=0755, python_fixup=True) +bld.INSTALL_FILES('${SBINDIR}', 'provision', chmod=MODE_755, python_fixup=True) bld.INSTALL_FILES('${SETUPDIR}', 'dns_update_list') bld.INSTALL_FILES('${SETUPDIR}', 'spn_update_list') -- cgit