From 7f3116a63d7d91f4c0d26adf8fcdef0a5a957971 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Thu, 8 Apr 2010 07:45:46 +1000 Subject: 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 --- buildtools/wafsamba/samba_install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'buildtools/wafsamba/samba_install.py') diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index 2f861616c1..30b607bf4c 100644 --- a/buildtools/wafsamba/samba_install.py +++ b/buildtools/wafsamba/samba_install.py @@ -7,6 +7,8 @@ import Options from TaskGen import feature, before, after from samba_utils import * +O755 = 493 + @feature('install_bin') @after('apply_core') @before('apply_link') @@ -41,7 +43,7 @@ def install_binary(self): # tell waf to install the right binary bld.install_as(os.path.join(install_path, orig_target), os.path.join(self.path.abspath(bld.env), self.target), - chmod=0755) + chmod=O755) -- cgit