Regardless of whether or not deploy-site is installed on OS X, the check

strstr(shell_exec('which deploy-site'), "deploy-site")

will come back positive. If OS X can't find it, it will return "deploy-site not found", unlike Ubuntu, which would return nothing.

Comments

shrop’s picture

Status: Active » Fixed

Fixed with this commit. I added a forward slash in the search string so the which command in OS X would not result in a false positive.

I tested this in OS X and it appears to work as desired.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.