fixed POSIX compatible check if PATH had changed
Merge pull request #109 from heroku/installsh-fix

fixed POSIX compatible check if PATH had changed