Use bash-preferred bracket-bracket style

http://robots.thoughtbot.com/the-unix-shells-humble-if