From: Alexander Bokovoy Date: Wed, 27 Jun 2018 11:33:36 +0000 (+0300) Subject: buildtools/wafsamba: use top for waf 2.0 X-Git-Tag: tdb-1.3.17~1797 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fdba4be9c425220ba459ad421f03cce4ab7ae70;p=thirdparty%2Fsamba.git buildtools/wafsamba: use top for waf 2.0 Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py index 29c5fd14e6d..0568403aa44 100644 --- a/buildtools/wafsamba/samba_dist.py +++ b/buildtools/wafsamba/samba_dist.py @@ -169,7 +169,9 @@ def dist(appname='', version=''): if not version: version = Context.g_module.VERSION - srcdir = os.path.normpath(os.path.join(os.path.dirname(Context.g_module.root_path), Context.g_module.srcdir)) + srcdir = os.path.normpath( + os.path.join(os.path.dirname(Context.g_module.root_path), + Context.g_module.top)) if not dist_dirs: Logs.error('You must use samba_dist.DIST_DIRS() to set which directories to package')