From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christoph Egger" Subject: Re: "portable" sh is not... Date: Tue, 23 Oct 2007 14:14:38 +0200 Message-ID: <200710231414.38981.Christoph.Egger@amd.com> References: <20071023115443.GA29012@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20071023115443.GA29012@totally.trollied.org.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tuesday 23 October 2007 13:54:43 John Levon wrote: > This commit: > > 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. Christoph =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy