summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-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()