exported variable not persisted after script execution
- by Daniele
I'm facing a wierd issue.
I've a vm with solaris 11, and trying to write some bash scripts.
if, on the shell, I type :
export TEST=aaa
and subsequently run:
set
I correctly see a new environment variable named TEST whose value is aaa.
If, however I do basically the same thing in a script. when the script terminates, I do not see the variable…