Angus Leeming wrote:
> On Wednesday 09 October 2002 3:08 pm, Rob Lahaye wrote:
> 
>>+       if ! ( $prog --version ) < /dev/null > /dev/null 2>&1;
>>then continue ; fi
> 
> 
> Shouldn't that be
> 
>>+       if test ! ...

If I add "test" here, I get:

$ ./autogen.sh
Using autoconf (GNU Autoconf) 2.53
Locating GNU m4... ./autogen.sh: 41: Syntax error: "(" unexpected (expecting "then")


Without the "test" the script works fine.
So for some reasons it should not be there.
I'm not a shell script guru, so can't explain why.

Rob.

Reply via email to