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 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "John Levon" <levon@xxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: "portable" sh is not...
From: "Christoph Egger" <Christoph.Egger@xxxxxxx>
Date: Tue, 23 Oct 2007 14:14:38 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Oct 2007 05:15:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071023115443.GA29012@xxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
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

-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel