From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuqeT-0001Qo-OD for qemu-devel@nongnu.org; Sun, 12 Sep 2010 13:47:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuqeM-0008MO-6Q for qemu-devel@nongnu.org; Sun, 12 Sep 2010 13:47:41 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:42019) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuqeM-0008M6-3z for qemu-devel@nongnu.org; Sun, 12 Sep 2010 13:47:34 -0400 Received: by qwk4 with SMTP id 4so646880qwk.4 for ; Sun, 12 Sep 2010 10:47:33 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1C12421B-DC91-471B-A285-7501CA61CE3E@web.de> References: <20100912112636.2648.27149.malonedeb@potassium.ubuntu.com> <1C12421B-DC91-471B-A285-7501CA61CE3E@web.de> From: Blue Swirl Date: Sun, 12 Sep 2010 17:47:13 +0000 Message-ID: Subject: Re: [Qemu-devel] [Bug 636315] [NEW] configure and build errors on Solaris 10 due to /bin/sh usage Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Andreas_F=C3=A4rber?= Cc: Bug 636315 <636315@bugs.launchpad.net>, qemu-devel@nongnu.org On Sun, Sep 12, 2010 at 5:35 PM, Andreas F=C3=A4rber wrote: > Am 12.09.2010 um 19:22 schrieb Blue Swirl: > >> On Sun, Sep 12, 2010 at 11:26 AM, Andreas F=C3=A4rber >> <636315@bugs.launchpad.net> wrote: >>> >>> Error: invalid trace backend >>> Please choose a supported trace backend. >> >> What is the output of "sh ./tracetool --nop --check-backend"? > > ./tracetool: syntax error at line 51: `$' unexpected Does this patch fix the problem? diff --git a/tracetool b/tracetool index 534cc70..c7582bf 100755 --- a/tracetool +++ b/tracetool @@ -48,7 +48,8 @@ get_argnames() { local nfields field name nfields=3D0 - for field in $(get_args "$1"); do + args=3Dget_args "$1" + for field in "$args"; do nfields=3D$((nfields + 1)) # Drop pointer star