diff options
author | Simo Sorce <idra@samba.org> | 2012-04-09 08:33:37 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2012-04-19 17:36:41 +0200 |
commit | e21029a270a6e3b8bcc5ff33b74977cb0cd6cd17 (patch) | |
tree | ea2357cb5c97ec3d31d6a147751bb195b385efb8 /buildtools/wafsamba/samba_deps.py | |
parent | 70d44a9a177621b173c8a24c7cb503f5632a8ff7 (diff) | |
download | samba-e21029a270a6e3b8bcc5ff33b74977cb0cd6cd17.tar.gz samba-e21029a270a6e3b8bcc5ff33b74977cb0cd6cd17.tar.bz2 samba-e21029a270a6e3b8bcc5ff33b74977cb0cd6cd17.zip |
waf: Fix mispelling
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Thu Apr 19 17:36:41 CEST 2012 on sn-devel-104
Diffstat (limited to 'buildtools/wafsamba/samba_deps.py')
-rw-r--r-- | buildtools/wafsamba/samba_deps.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py index 51b7da9493..f073e41433 100644 --- a/buildtools/wafsamba/samba_deps.py +++ b/buildtools/wafsamba/samba_deps.py @@ -214,7 +214,7 @@ def add_init_functions(self): if m is not None: modules.append(m) - sentinal = getattr(self, 'init_function_sentinal', 'NULL') + sentinel = getattr(self, 'init_function_sentinel', 'NULL') targets = LOCAL_CACHE(bld, 'TARGET_TYPE') cflags = getattr(self, 'samba_cflags', [])[:] @@ -222,8 +222,8 @@ def add_init_functions(self): if modules == []: sname = sname.replace('-','_') sname = sname.replace('/','_') - cflags.append('-DSTATIC_%s_MODULES=%s' % (sname, sentinal)) - if sentinal == 'NULL': + cflags.append('-DSTATIC_%s_MODULES=%s' % (sname, sentinel)) + if sentinel == 'NULL': cflags.append('-DSTATIC_%s_MODULES_PROTO' % sname) self.ccflags = cflags return @@ -236,11 +236,11 @@ def add_init_functions(self): if targets[d['TARGET']] != 'DISABLED': init_fn_list.append(d['INIT_FUNCTION']) if init_fn_list == []: - cflags.append('-DSTATIC_%s_MODULES=%s' % (m, sentinal)) - if sentinal == 'NULL': + cflags.append('-DSTATIC_%s_MODULES=%s' % (m, sentinel)) + if sentinel == 'NULL': cflags.append('-DSTATIC_%s_MODULES_PROTO' % m) else: - cflags.append('-DSTATIC_%s_MODULES=%s' % (m, ','.join(init_fn_list) + ',' + sentinal)) + cflags.append('-DSTATIC_%s_MODULES=%s' % (m, ','.join(init_fn_list) + ',' + sentinel)) proto='' for f in init_fn_list: proto = proto + '_MODULE_PROTO(%s)' % f |