Results 1 to 2 of 2

Thread: Environment variable is not setting by InstallAnywhere

  1. #1
    Join Date
    Feb 2012
    Posts
    1

    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
    Last edited by mkandrat; 02-02-2012 at 08:39 AM.

  2. #2
    Join Date
    Mar 2013
    Posts
    1

    Same problem

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •