From 667f672c94eb3e935ae3463a203dfa85b900726a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 21 Apr 2010 15:15:55 +1000 Subject: 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 --- buildtools/wafsamba/samba_cross.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools/wafsamba/samba_cross.py') diff --git a/buildtools/wafsamba/samba_cross.py b/buildtools/wafsamba/samba_cross.py index b20555f673..3838e34ec4 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) -- cgit