As far as I know, it's the '==' operator. In sh you need to use '=' for string equality tests. Bash understands both.
I won't revert it to sh, because currently I can't test it (I don't have a real sh), but it'd be better tested and fixed before someone cries that his system doesn't have bash.