git.samba.org
/
obnox
/
vasabi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa29af3
)
vasabi: samba-build: use early return to simplify
author
Michael Adam
<obnox@samba.org>
Mon, 20 Apr 2015 15:00:50 +0000
(17:00 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 20 Apr 2015 15:00:50 +0000
(17:00 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
script/samba-build.py
patch
|
blob
|
history
diff --git
a/script/samba-build.py
b/script/samba-build.py
index fe4b2f175700321d42575e585b0995da4d77444a..f7bb3a4eab1cbe855b0ea341ac058b6985850bbb 100755
(executable)
--- a/
script/samba-build.py
+++ b/
script/samba-build.py
@@
-371,7
+371,10
@@
def do_build():
def save_results():
""" save the results """
- if do_out_of_tree and options.do_copy_bindir:
+ if not do_out_of_tree:
+ return
+
+ if options.do_copy_bindir:
print "Copying back results from '%s' to '%s'." % (bld_dir_bin,
options.srcdir)
cmd = [ "rsync",