Fix bash comparisons
Merge pull request #27 from akshayjshah/master

Fix bash comparisons