Kill bashizm

'=' operator for test(1) is not portable.
Merge pull-request #15 'Kill bashism' into release-1.3