r=bryner 1) Solaris should use the same option for |find| with Darwin; 2) Use `which foo | grep /foo$` instead of `which foo`, because Solaris |which| command always outputs something even the command is not found. git-svn-id: svn://10.0.0.236/trunk@155669 18797224-902f-48f8-a5cc-f745e15eee43