git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7f401
)
wafsamba: allow samba_dist.dist() to be called from a different directory.
author
Amitay Isaacs
<amitay@gmail.com>
Sun, 25 May 2014 01:31:44 +0000
(11:31 +1000)
committer
Michael Adam
<obnox@samba.org>
Fri, 20 Jun 2014 21:38:09 +0000
(23:38 +0200)
Up to now it assumed to be called from the top level srcdir.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
buildtools/wafsamba/samba_dist.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_dist.py
b/buildtools/wafsamba/samba_dist.py
index fae2759dac0d6d6646c5c81117b591d943f3f8ed..4d082fe62ae7669e0bf270cf329304bd59faf6ae 100644
(file)
--- a/
buildtools/wafsamba/samba_dist.py
+++ b/
buildtools/wafsamba/samba_dist.py
@@
-128,10
+128,13
@@
def dist(appname='', version=''):
def list_directory_files(abspath):
+ curdir = os.getcwd()
+ os.chdir(srcdir)
out_files = []
for root, dirs, files in os.walk(abspath):
for f in files:
out_files.append(os.path.join(root, f))
+ os.chdir(curdir)
return out_files