On Tue, Nov 23, 1999 at 10:42:37AM -0800, Rahul Jain wrote:

> > Does it matter that the runConfigure script doesn't seem to work with
> > the basic 'sh' supplied with FreeBSD, yet works ok with bash? Should
> > this perhaps be mentioned somewhere?
> 
> The first line of both the 'runConfigure' scripts in 'src' and
> 'samples' directory have
>   #!/bin/sh
> as the first line.

Yes.

> I do not believe we there are any bash specific constructs used
> in the scripts.

The /bin/sh supplied with FreeBSD 3.2, claimed to be aimed at the
POSIX.2 specification, barfs on some of it, notably:

if test <blah>; then

Which works fine as:

if [ <blah> ]; then

And:

exit -1

which is fine if changed to a positive exit value.

I'm quite happy to produce a patch that makes it work under both FreeBSD's
sh and bash - I would assume this would work under most sh like shells.

J.

-- 
Web [        Watch it - you're trying my infinite patience.        ]
site: http:// [                                          ]       Made by
www.earth.li/~noodles/  [                      ]         HuggieTag 0.8.6

Reply via email to