From 36b2732426c4301bdbea99bb34fccdd767af044d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 12 Sep 2012 23:45:50 +0200 Subject: build:dist: make use of file / distfile more obvious in handling of DIST_FILES in "make dist" Signed-off-by: Stefan Metzmacher --- buildtools/wafsamba/samba_dist.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py index a2c75593f2..30902c4f04 100644 --- a/buildtools/wafsamba/samba_dist.py +++ b/buildtools/wafsamba/samba_dist.py @@ -175,11 +175,8 @@ def dist(appname='',version=''): absfile = os.path.join(srcdir, file) - if destfile != file: - file = destfile - - fname = dist_base + '/' + file - add_tarfile(tar, fname, absfile, file) + fname = dist_base + '/' + destfile + add_tarfile(tar, fname, absfile, destfile) tar.close() -- cgit