summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/wscript_build3
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.