diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-21 11:14:49 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-22 02:51:09 +0100 |
commit | cf3225d6c3898bfd425aedc894a1ddd7a484fd2a (patch) | |
tree | 9d8fbb769f22dd1b184e30f39686e987790f4f78 | |
parent | 666d01911042680039276209c1872b5d778e4015 (diff) | |
download | samba-cf3225d6c3898bfd425aedc894a1ddd7a484fd2a.tar.gz samba-cf3225d6c3898bfd425aedc894a1ddd7a484fd2a.tar.bz2 samba-cf3225d6c3898bfd425aedc894a1ddd7a484fd2a.zip |
s3-waf: find swat files for both toplevel and source3 build
this finds the right swat files in both cases
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source3/wscript_build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index de774de00a..8c7f1fda87 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -1339,7 +1339,8 @@ bld.SAMBA3_BINARY('vlp', deps='''talloc tdb PARAM_UTIL UTIL_TDB''', vars=locals()) -swat_files=recursive_dirlist('../swat', '../swat', '*') +swat_dir = os.path.join(bld.curdir, '../swat') +swat_files = recursive_dirlist(swat_dir, swat_dir, '*') bld.INSTALL_FILES('${SWATDIR}', swat_files, base_name='../swat') # additional compatibility rules. |