Fix bashism

== is a bashism and doesn't work in dash.