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

Steve Kemp steve at steve.org.uk
Thu Oct 19 18:02:03 CEST 2006


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'll look at how much of the assert macros are useful - it might
 make sense to just strip them out..

Steve
-- 





More information about the xen-tools-discuss mailing list