mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
buildtools/wafsamba: use top for waf 2.0
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
cdda0d9048
commit
0fdba4be9c
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user