From: John Levon Subject: Re: "portable" sh is not... Date: Tue, 23 Oct 2007 13:20:14 +0100 Message-ID: <20071023122014.GA30069@totally.trollied.org.uk> References: <20071023115443.GA29012@totally.trollied.org.uk> <200710231414.38981.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200710231414.38981.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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... :) > > > Christoph, why is this necessary? Surely *BSD have /bin/bash > > No, they have not. They have /bin/sh, /bin/ksh and /bin/csh. > bash is a third-party package. Can we make it use $SHELL? We have that set to bash. regards john