[xen-tools] Re: hook scripts issue, and patch

From: Eric Lemoine <eric.lemoine_at_gmail.com>
Date: Thu, 19 Oct 2006 18:06:27 +0200
On 10/19/06, Steve Kemp <steve_at_steve.org.uk> wrote:
> On Thu, Oct 19, 2006 at 05:59:35PM +0200, Eric Lemoine wrote:
>
> > Steve, I've just realized that my patch doesn't fix everything.
> > There's yet another thing which isn't supported by dash: the $LINENO
> > variable.
>
>   Agh.  I use that a lot.
>
> > What do you want to do: make the hook scripts compatible with both
> > bash and dash, or force the use of bash. My first patch attempts to
> > make the scripts compatible with both shells, but that might not be
> > what you want to do given the restrictions brought by dash.
>
>   I think that using any shell should be an attainable goal.

I think so too.

>  I'll look at how much of the assert macros are useful - it might
>  make sense to just strip them out..

I like the assert() function. I'm currently looking into a solution
that keeps assert() around...




-- 
Eric
Received on Thu Oct 19 2006 - 17:06:39 BST

Mailing list overview.