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.
- Should it?
- If not, is there another way to load the .bash_profile when executing a shell script?