Some changes to allow bigcouch to build on freebsd 8.1.
Hi Benoit, the changeset overall looks good. Ideally I'd like to see the typo commit squashed into the FreeBSD compatibility one, and I agree that we should check whether the scripts will work with a general Bourne-compatible shell rather than requiring bash.
@benoitc I have switched our bigcouch and erl scripts to use sh instead of bash (fd1496a). My initial testing was positive on linux, please give them a shot in your environment.
typo commit squashed. Also rebased with fd1496a changes . Tested under fbsd 8.1 and works .