Re: Script to Set Environment Variable?

2004-11-26 Thread Andreas Janssen
Hello [EMAIL PROTECTED] (<[EMAIL PROTECTED]>) wrote: > How do I write a script to set an environment variable? > > I feel like I should know this. I want to set my PATH in pbuilder & > the author suggested using an "A" hook. However, I can't create a hook > - an executable - which sets an enviro

Re: Script to Set Environment Variable?

2004-11-26 Thread s. keeling
Incoming from [EMAIL PROTECTED]: > How do I write a script to set an environment variable? Understand that you're trying to define something that will be available to the current process, and all children of that process. Already existing processes won't know about it, and after that process exits

Script to Set Environment Variable?

2004-11-26 Thread ms419
How do I write a script to set an environment variable? I feel like I should know this. I want to set my PATH in pbuilder & the author suggested using an "A" hook. However, I can't create a hook - an executable - which sets an environment variable. I tried: #!/bin/sh export PATH=