portability: Use /bin/sh instead of /bin/bash and adjust code.

I fixed whatever error showed up on my Debian Sid system. Namely, only
the use of the double-equal sign which is not valid in POSIX mode.
typo: 'Please not ' --> 'Please note: '