in reply to Script to change $ENV{PATH}
This is a case where you want to use the shell (VSarkiss++ has told you why). The shell 'source' operator, '.' (dot) will let you read a file of bash statements into the current environment. See 'man bash'.
For instance, to regain much of your startup environment:
$ . ~/.bash_profile $
After Compline,
Zaxo
|
|---|