summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_install.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-19 16:00:04 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-19 16:00:04 +0200
commit24930aa716c3501b336e8f5534590e968d837aaf (patch)
tree367b7611582763bdb27c0b1f7c50c2242129d79e /buildtools/wafsamba/samba_install.py
parentb099631f428d0ecc641d59bd3c94674e6348dde9 (diff)
downloadsamba-24930aa716c3501b336e8f5534590e968d837aaf.tar.gz
samba-24930aa716c3501b336e8f5534590e968d837aaf.tar.bz2
samba-24930aa716c3501b336e8f5534590e968d837aaf.zip
wafsamba: Use octal modes directly rather than constants.
Diffstat (limited to 'buildtools/wafsamba/samba_install.py')
-rw-r--r--buildtools/wafsamba/samba_install.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py
index 41722098bc..488729bc51 100644
--- a/buildtools/wafsamba/samba_install.py
+++ b/buildtools/wafsamba/samba_install.py
@@ -7,8 +7,6 @@ import Options
from TaskGen import feature, before, after
from samba_utils import *
-O755 = 493
-
@feature('install_bin')
@after('apply_core')
@before('apply_link', 'apply_obj_vars')
@@ -43,7 +41,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=O755)
+ chmod=0755)