Re: Script problem

2007-01-16 Thread Bates, Bob [CCC-OT_IT]
This was a great explanation. Thanks -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Edmund R. MacKenty Sent: Tuesday, January 16, 2007 12:53 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Script problem On Tuesday 16 January 2007 13:39, Bates, Bob [CCC-OT_IT

Re: Script problem

2007-01-16 Thread Edmund R. MacKenty
On Tuesday 16 January 2007 13:39, Bates, Bob [CCC-OT_IT] wrote: >OK, I'm stumped. This ought to be easy but I don't see it. > >Running a script to update the $PATH and set a few others. But they don't > change. That's because there are two shells involved here, and you are only changing the enviro

Re: Script problem

2007-01-16 Thread Bates, Bob [CCC-OT_IT]
I was so close. Didn't try . .bb, Thanks. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Neale Ferguson Sent: Tuesday, January 16, 2007 12:44 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Script problem To maintain the environment variables afte

Re: Script problem

2007-01-16 Thread Neale Ferguson
To maintain the environment variables after the script exits you need to invoke with: . Neale On Tue, 2007-01-16 at 13:39 -0500, Bates, Bob [CCC-OT_IT] wrote: > OK, I'm stumped. This ought to be easy but I don't see it. > > Running a script to update the $PATH and set a few others. But they > do

Script problem

2007-01-16 Thread Bates, Bob [CCC-OT_IT]
OK, I'm stumped. This ought to be easy but I don't see it. Running a script to update the $PATH and set a few others. But they don't change. Running in bash The script is: #!/bin/bash set NETE_WA_ROOT=/opt/netegrity/webagent export NETE_WA_ROOT NETE_WA_PATH=${NETE_WA_ROOT}/bin export NETE_