octokit/octokit.rb — pull request #302 by chrisdambrosio (2013-09-04 08:02:24+00:00)
Title: Make script/test portable

Because `/bin/sh` isn't always bash, `script/test` might fail.

Ubuntu specifically, uses dash as `/bin/sh`, which does not support the double bracket builtin in `script/test`.

http://stackoverflow.com/questions/9666102/bash-double-bracket-issue
https://wiki.ubuntu.com/DashAsBinSh
http://askubuntu.com/questions/141928/what-is-difference-between-bin-sh-and-bin-bash