WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Re: "portable" sh is not...

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] Re: "portable" sh is not...
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: 2007年10月23日 13:34:39 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年10月23日 05:35:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200710231427.07338.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20071023115443.GA29012@xxxxxxxxxxxxxxxxxxxxxxx> <200710231414.38981.Christoph.Egger@xxxxxxx> <20071023122014.GA30069@xxxxxxxxxxxxxxxxxxxxxxx> <200710231427.07338.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Oct 23, 2007 at 02:27:07PM +0200, Christoph Egger wrote:
> On Tuesday 23 October 2007 14:20:14 John Levon wrote:
> > On Tue, Oct 23, 2007 at 02:14:38PM +0200, Christoph Egger wrote:
> > > > http://xenbits.xensource.com/staging/xen-unstable.hg?rev/08295dc13166 
> > > >
> > > > broke our build. The script is not portable as claimed (e.g.
> > > > traditional Bourne shell has no $( ... ) construct).
> > >
> > > The only one bash-specific thing I could find was the [:alpha:] notion.
> > > This changeset makes it work on BSD's /bin/sh.
> > > Looks like BSD's /bin/sh is not that traditional... :)
>
> Looking through get-fields.sh, it seems the $( ... ) constructs can be
> replaced with backticks. This should make Solaris' /bin/sh happy.
vim is highlighting stuff like
 type=${token#COMPAT_HANDLE?}
 type=${type%?}
 type=${type#compat_}
as bad, but I don't know what those constructs do.
regards
john
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: "portable" sh is not... , Christoph Egger
Next by Date: [Xen-devel] [PATCH][TOOLS] libxc: check length on copy , Christoph Egger
Previous by Thread: [Xen-devel] Re: "portable" sh is not... , Christoph Egger
Next by Thread: Re: [Xen-devel] Re: "portable" sh is not... , Christoph Egger
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /