I have my bash_profile environment setting as follows:
if [ `hostname` = "devoraebs01" ]; then echo `hostname -f` . /appl_top/deverp/appl/APPSDEVERP_devoraebs01.env
When I log into this host, it echoes the hostname correctly. But I've noticed that when I try to execute some shell script, I get errors until I run the ". /appl_top/deverp/appl/APPSDEVERP_devoraebs01.env" manually.
Nothing appears to be incorrect with the syntax. Any idea why this isn't getting set correctly at my initial login?
Here's the entire contents of
customfile=/appl_top/deverp/appl/customDEVERP_devoraebs01.env if [ -f $customfile ]; then . /appl_top/deverp/appl/customDEVERP_devoraebs01.env fi . /db/u01/conf_top/DEVERP_devoraebs01/8.0.6/DEVERP_devoraebs01.env . /appl_top/deverp/appl/DEVERP_devoraebs01.env
I am logging into the host via PuTTY.