summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-12-10 20:18:11 +0000
committerAndrew Bartlett <abartlet@samba.org>2018-12-14 00:51:32 +0100
commit28ecdd977735a02740e67861bc69d5b461d6c77f (patch)
treeffe492b60da4c3e32339d8595738183c70af6011 /buildtools/wafsamba
parent2b3c9b8e6a44420795768d6476ce843886222768 (diff)
downloadsamba-28ecdd977735a02740e67861bc69d5b461d6c77f.tar.gz
buildtools/wafsamba: Decode output of cmd_output (which is bytes)
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_conftests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py
index d8f793638f5..c0b9ae49296 100644
--- a/buildtools/wafsamba/samba_conftests.py
+++ b/buildtools/wafsamba/samba_conftests.py
@@ -418,7 +418,7 @@ def CHECK_COMMAND(conf, cmd, msg=None, define=None, on_target=True, boolean=Fals
if on_target:
cmd.extend(conf.SAMBA_CROSS_ARGS(msg=msg))
try:
- ret = Utils.cmd_output(cmd)
+ ret = Utils.cmd_output(cmd).decode('utf8')
except:
conf.COMPOUND_END(False)
return False