summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-12 23:45:50 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-12 23:53:09 +0200
commit36b2732426c4301bdbea99bb34fccdd767af044d (patch)
treef09eaa83f09a1ef5fdc9d7521c97b94d6cc89dfa /buildtools/wafsamba
parent3821defe2a76663ddef59e9591dffa42a08764bf (diff)
downloadsamba-36b2732426c4301bdbea99bb34fccdd767af044d.tar.gz
samba-36b2732426c4301bdbea99bb34fccdd767af044d.tar.bz2
samba-36b2732426c4301bdbea99bb34fccdd767af044d.zip
build:dist: make use of file / distfile more obvious in handling of DIST_FILES in "make dist"
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_dist.py7
1 files changed, 2 insertions, 5 deletions
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()