[Libevent-users] [PATCH] Fix syntax error in autogen.sh
Trond Norbye
Trond.Norbye at Sun.COM
Thu Sep 20 09:23:32 EDT 2007
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).
Trond
More information about the Libevent-users
mailing list