Use = instead of == when running as sh

= is the POSIX equality test in shell script; when running as `/bin/sh`,
it's enough to cause problems.
Merge pull request #38 from kisom/master

Use = instead of == when running as sh