summaryrefslogtreecommitdiff
path: root/source4/scripting/wscript_build
diff options
context:
space:
mode:
authorThomas Nagy <tnagy1024@gmail.com>2010-04-08 07:45:46 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-08 07:46:39 +1000
commit7f3116a63d7d91f4c0d26adf8fcdef0a5a957971 (patch)
tree46e95f69b7637c38dbbc20455c3dc99408a93df7 /source4/scripting/wscript_build
parent64957ce0686761acd2a2a7ec1787898d2d8238b6 (diff)
downloadsamba-7f3116a63d7d91f4c0d26adf8fcdef0a5a957971.tar.gz
samba-7f3116a63d7d91f4c0d26adf8fcdef0a5a957971.tar.bz2
samba-7f3116a63d7d91f4c0d26adf8fcdef0a5a957971.zip
build: allow the waf build to work with python 3.0 and 3.1
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/scripting/wscript_build')
-rw-r--r--source4/scripting/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/wscript_build b/source4/scripting/wscript_build
index d48f24c681..5911364ce3 100644
--- a/source4/scripting/wscript_build
+++ b/source4/scripting/wscript_build
@@ -1,6 +1,7 @@
#!/usr/bin/env python
+O755 = 493
bld.INSTALL_FILES('${SBINDIR}','bin/upgradeprovision bin/samba_dnsupdate',
- chmod=0755, python_fixup=True, flat=True)
+ chmod=O755, python_fixup=True, flat=True)