Replace this line with `if [ "$HPHP_HOME" = "" ]; then` for portability. The original script works fine for Bash-compatible shells, but I noticed a problem with a strictly POSIX shell (`/bin/sh` can be anything)`. See https://github.com/hhvm/example/pull/3 for more info.