use bash and not sh for shellscript
use right bash for Linux, FreeBSD and OS X (hopefully)
Merge pull request #82 from Connexions/fix-shellscript-linux

use bash and not sh for shellscript