cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mkandrat
Level 2

Environment variable is not setting by InstallAnywhere

Hi,

I am using IA2011 of Linux version. Using Execute Script Action, redirecting env variable to .bash_profile.

echo "export DEV_DIR=/opt/data" >> /root/.bash_profile
source /root/.bash_profile

While executing install.bin, the env variable got redirected into .bash_profile

But when i execute the script with $DEV_DIR, it says No such file or Directory.

For example if the script a.sh has below content,

$DEV_DIR/build/bin/test.sh

when i run ./a.sh, it says test.sh is No such file or Directory. But test.sh file is there in /opt/data/ with full permission

If i run install.bin second time without doing anything. Its working fine

Could you please let me know if i am missing anything.

Regards,
Riaz
Labels (1)
0 Kudos
(1) Reply
christianlacerd
Level 2

Have you solved it... I'm facing the same problem here...
0 Kudos