[Libevent-users] [PATCH] Fix syntax error in autogen.sh

Hannah Schroeter hannah at schlund.de
Thu Sep 20 10:46:18 EDT 2007


Hi!

On Thu, Sep 20, 2007 at 03:23:32PM +0200, Trond Norbye wrote:
>Magne Mæhre wrote:
>>Changing to /bin/bash isn't a good solution, since you're not 
>>guaranteed to have bash on every system (nor that it's in /bin)

>>I would suggest to have the script Bourne shell compliant instead :

>>SYSNAME=`uname`
>>if [ "$SYSNAME" = "Darwin" ] ; then
>>  LIBTOOLIZE=glibtoolize
>>fi

>You're right, thats a much better solution (I just assumed it would be 
>bash since I've heard that most Linux distributions provides /bin/sh as 
>a link to bash).

Not all the world is Linux.

I'd suggest if [ X"$SYSNAME" = X"Darwin" ] ... to be really safe, btw.

>Trond

Kind regards,

Hannah.


More information about the Libevent-users mailing list