git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a48bb
)
buildtools/wafsamba: only display 'ok' if the result is True
author
Stefan Metzmacher
<metze@samba.org>
Mon, 8 Oct 2012 09:18:03 +0000
(11:18 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 19 Oct 2012 10:14:57 +0000
(12:14 +0200)
Otherwise we print the raw value.
metze
Signed-off-by: Michael Adam <obnox@samba.org>
buildtools/wafsamba/samba_autoconf.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_autoconf.py
b/buildtools/wafsamba/samba_autoconf.py
index 5d3cc5a6882dd57202b9dc38b9a0f2709aebdf2e..76316d28e67f971e9ee428029cb51baf87613e8e 100644
(file)
--- a/
buildtools/wafsamba/samba_autoconf.py
+++ b/
buildtools/wafsamba/samba_autoconf.py
@@
-62,8
+62,8
@@
def COMPOUND_END(conf, result):
conf.check_message_1 = conf.saved_check_message_1
conf.check_message_2 = conf.saved_check_message_2
p = conf.check_message_2
- if result:
- p('ok
')
+ if result
is True
:
+ p('ok')
elif not result:
p('not found', 'YELLOW')
else: