Make check-logs target work on sh
We had some bashism in here by using [[. I've now reverted to using [ which makes us compatible with sh instead.
Also uppercased variable to make it a little more idiomatic shell script (or is that just me?).
Closes #202 (closed)