.bash_profile alias does not work in shell script
I have the following alias in my ~/.bash_profile
When I call for rdseed in the terminal it works fine. However, when I call for it within a shell script I get the following error;
"rdseed: command not found"
When I add the exact line I have in my .bash_profile to the shell script and call it within the same script, it works fine.
All other aliases I have in my .bash_profile works within a shell script without any problem. I am baffled. Any suggestions? Thanks!
I am on MAC OS X (mountain lion)