[xen-tools] Re: hook scripts issue, and patch
eric.lemoine at gmail.com
Thu Oct 19 18:06:27 CEST 2006
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...
More information about the xen-tools-discuss