Avian00
August 25th, 2006, 04:27 PM
Hi,
I'm trying to run a script which executes a series of 'export' commands to set environment variables (It is the vars script from openvpn, if that helps). For some reason, the variables that get set during the script do not stick after the script has been run. If I 'echo' those variables while the script is running, they appear to be set, but once the script ends, those variables are no longer set. If I set the variables from the command line manually, they DO stick. How can I make these variables remain after the script ends?
Thanks in advance for any help.
Matt
I'm trying to run a script which executes a series of 'export' commands to set environment variables (It is the vars script from openvpn, if that helps). For some reason, the variables that get set during the script do not stick after the script has been run. If I 'echo' those variables while the script is running, they appear to be set, but once the script ends, those variables are no longer set. If I set the variables from the command line manually, they DO stick. How can I make these variables remain after the script ends?
Thanks in advance for any help.
Matt