Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbQe6-0006ey-Kf for qemu-devel@nongnu.org; Wed, 12 Aug 2009 23:06:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbQe1-0006Qr-RM for qemu-devel@nongnu.org; Wed, 12 Aug 2009 23:06:30 -0400 Received: from [199.232.76.173] (port=38338 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbQe1-0006QU-NM for qemu-devel@nongnu.org; Wed, 12 Aug 2009 23:06:25 -0400 Received: from an-out-0708.google.com ([209.85.132.247]:55370) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbQe1-00031g-6U for qemu-devel@nongnu.org; Wed, 12 Aug 2009 23:06:25 -0400 Received: by an-out-0708.google.com with SMTP id c38so194297ana.37 for ; Wed, 12 Aug 2009 20:06:24 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <2a50f7880908121801m34efd3fbnadd3af122be19381@mail.gmail.com> <2a50f7880908121915u5d2e61afsf47ced15c0467fa5@mail.gmail.com> Date: Wed, 12 Aug 2009 20:06:24 -0700 Message-ID: <2a50f7880908122006y48778e47u59c84563eb9fed3f@mail.gmail.com> Subject: Re: [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts From: Jordan Justen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel@nongnu.org 2009/8/12 malc : > On Wed, 12 Aug 2009, Jordan Justen wrote: > >> On Wed, Aug 12, 2009 at 7:03 PM, malc wrote: >> > On Wed, 12 Aug 2009, Jordan Justen wrote: >> > >> >> Regarding commit 971c47c, this causes a build error for me on Ubuntu >> >> 9.04. =A0I think this might be because Ubuntu/Debian have moved /bin/= sh >> >> from bash to dash. =A0The build is okay if I change the first line of >> >> configure from /bin/sh to /bin/bash. =A0Should configure point direct= ly >> >> at bash? >> > >> > Please be more specific, what is the error? And FWIW i mainly use ash >> > to run QEMUs configure (and dash is derived from ash as far as i can >> > tell) >> >> It seems to only be an issue with dash if I run it as './configure'. >> 'dash configure' is okay. >> >> With /bin/sh -> bash, if I insert an 'echo $_' before this line in confi= gure: >> THISSHELL=3D${_:-/bin/sh} >> then $_ is blank. >> >> With /bin/sh -> dash, 'echo $_' just before that line will show $_ to >> be './configure'. =A0Therefore THISSHELL becomes './configure', which is >> obviously invalid. >> >> I'm not sure of a fix yet... > > Thanks for analysis, i've pushed the "fix" hopefully it would finally put > an end to this. Your new version works well for me. Thanks. > > -- > mailto:av1474@comtv.ru