diff options
author | Michael Adam <obnox@samba.org> | 2012-09-12 23:45:50 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-09-12 23:53:09 +0200 |
commit | 36b2732426c4301bdbea99bb34fccdd767af044d (patch) | |
tree | f09eaa83f09a1ef5fdc9d7521c97b94d6cc89dfa | |
parent | 3821defe2a76663ddef59e9591dffa42a08764bf (diff) | |
download | samba-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>
-rw-r--r-- | buildtools/wafsamba/samba_dist.py | 7 |
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() |