From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FUSY6-0008U0-Bt for qemu-devel@nongnu.org; Fri, 14 Apr 2006 13:57:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FUSY4-0008Rx-P8 for qemu-devel@nongnu.org; Fri, 14 Apr 2006 13:57:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FUSY4-0008Rp-JT for qemu-devel@nongnu.org; Fri, 14 Apr 2006 13:57:36 -0400 Received: from [193.7.176.20] (helo=bender.bawue.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FUSY5-0005x0-Ql for qemu-devel@nongnu.org; Fri, 14 Apr 2006 13:57:38 -0400 Date: Fri, 14 Apr 2006 18:57:17 +0100 From: Thiemo Seufer Subject: Re: [Qemu-devel] Patch to make configure /bin/sh compatible Message-ID: <20060414175717.GH4696@networkno.de> References: <20060414174346.ZGFE14554.eastrmmtao03.cox.net@[172.18.52.8]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060414174346.ZGFE14554.eastrmmtao03.cox.net@[172.18.52.8]> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ben Taylor Cc: qemu-devel@nongnu.org Ben Taylor wrote: > Thiemo Seufer > > > > Ben Taylor wrote: > > > This is a patch to make configure truly /bin/sh compatible, > > > as well as changing some logic to remove "echo -n" for > > > output to files, as "echo -n" is not consistent among > > > environments. > > > > > > This is against the latest cvs branch, and I appreciate > > > any feedback. > > > > [snip] > > > @@ -294,7 +295,7 @@ > > > target_list="i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user $target_list" > > > fi > > > else > > > - target_list=$(echo "$target_list" | sed -e 's/,/ /g') > > > + target_list=`echo "$target_list" | sed -e 's/,/ /g'` > > > > A standard-conforming /bin/sh should be capable of handling this. > > do you mean a shell that looks like /bin/sh but is really > more like ksh or bash. Solaris /bin/sh did not like > that construct. I meant http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_006_003 which IIRC looks that way since POSIX times. Apparently Solaris isn't conformant WRT. Thiemo