remove '==' bashism

'==' as an operator for [ is not defined by the posix standard, so it would create an error on systems where /bin/sh is dash instead of bash.