summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_cross.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-21 15:15:55 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-21 15:16:01 +1000
commit667f672c94eb3e935ae3463a203dfa85b900726a (patch)
tree12af1bd5078a2f3a6c80514483ae7646dec60ec4 /buildtools/wafsamba/samba_cross.py
parent5e695dec2af347dd9211a1dec45f10f751bbafb5 (diff)
downloadsamba-667f672c94eb3e935ae3463a203dfa85b900726a.tar.gz
build: fixed uname output to be on target machine when cross compiling
this also makes the output of define_ret configure tests show up in the configure output
Diffstat (limited to 'buildtools/wafsamba/samba_cross.py')
-rw-r--r--buildtools/wafsamba/samba_cross.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_cross.py b/buildtools/wafsamba/samba_cross.py
index b20555f673d..3838e34ec48 100644
--- a/buildtools/wafsamba/samba_cross.py
+++ b/buildtools/wafsamba/samba_cross.py
@@ -96,7 +96,7 @@ class cross_Popen(Utils.pproc.Popen):
global cross_answers_incomplete
cross_answers_incomplete = True
(retcode, retstring) = ans
- args = ['/bin/sh', '-c', "echo '%s'; exit %d" % (retstring, retcode)]
+ args = ['/bin/sh', '-c', "echo -n '%s'; exit %d" % (retstring, retcode)]
real_Popen.__init__(*(obj, args), **kw)