fix solaris path fix

- the '==' was wrong
- also fixed up this bit of code for /bin/sh-ification later
Merge pull request #1067 from opscode/lcg/fix-solaris-check

fix solaris path fix