[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH] Debian: Use /bin/bash as the shell for regression test scripts.



On Thu, Nov 05, 2009 at 06:04:18PM +0100, Jim Meyering wrote:
> Have you considered changing to POSIX syntax, e.g.,
> 
>     -function foo
>     +foo()
> 
> If that's the only change, it may be worthwhile to accommodate dash.

We could do but I have to say that bash is out there on every platform
we care about, and it's actually useful to use the non-POSIX features.

It's also going to be a problem that we'll only find these
incompatibilities when we compile on Debian, and maybe there will be
bugs in dash itself.

I think we want bash, so let's use bash!

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]