qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Patch to make configure /bin/sh compatible


From: Nathan Kunkee
Subject: Re: [Qemu-devel] Patch to make configure /bin/sh compatible
Date: Thu, 20 Apr 2006 10:08:15 -0500

Solaris 10 does have standards complaint shells. The problem is finding them. :-7 Check out 'man standards' or this link: http://docs.sun.com/app/docs/doc/816-5175/6mbba7f3v?a=view In the utilities section it discusses which shells exist on the system, and which standards they support.

I found I had the best luck with /bin/xpg4/sh for configure.

Nathan

------------------------------

Message: 6
Date: Fri, 14 Apr 2006 18:38:27 +0100 (BST)
From: Michael McConnell <address@hidden>
Subject: Re: [Qemu-devel] Patch to make configure /bin/sh compatible
To: address@hidden
Message-ID:
        <address@hidden>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 14 Apr 2006, Thiemo Seufer wrote:

> 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.

I've seen various /bin/sh (and ksh) versions that will accept the `....` form
but not the $(...) form.  It's bitten me a few times too.

-- Michael "Soruk" McConnell
   Eridani Star System






reply via email to

[Prev in Thread] Current Thread [Next in Thread]