How to pick up .bash_profile paths etc

When I run a shell script from Eggplant via the Shell command, it does not load the paths in my .bash_profile. I have been working around it by including it in every script, but it would be better not to do that.

I have set the bash shell to be my default using :

defaults write com.redstonesoftware.Eggplant STShellCommand "/bin/bash"

I thought this would take care of it, but even after restarting Eggplant it does not seem to do the trick.
1) Should it?
2) If not, is there another way to load the .bash_profile when executing a shell script?

Thank You.

Comments

Sign In or Register to comment.