appium/appium — pull request #799 by herzbube (2013-06-21 16:09:19+00:00)
Title: look for ~/.profile in sysExec()

Some people have a `~/.profile` instead of a `~/.bash_profile`, so `sysExec()` should take this into account as well.

`~/.profile` is checked before `~/.bash_profile` to reflect the order of precedence in which bash normally looks for these files.