correct sh syntax

because POSIX sh doesn't understand `==` for string equality,

* though it is valid bash syntax
* we use `=` instead!