c9s/phpbrew — pull request #16 by markwu (2012-07-03 03:56:25+00:00)
Title: Fixed error "binary operator expected" in some bash shell

I don't know if it only happened to me, I have to add double quote to those bash variables inside if statement to avoid "binary operator expected" error.

Here comes the patch to fix this error.

My development environment is:
OS: Ubuntu 12.04
Shell: GNU Bash 4.2.24 (I think it default shell comes from Ubuntu dist.)
PHP: 5.3.10 (Comes from Ubuntu dist.)