On Tue, 22 Feb 2005 04:16:02 -0500, L.V.Gandhi <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED]:/home/lvgandhi# ./setproxy
> [EMAIL PROTECTED]:/home/lvgandhi# echo $http_proxy
>
> [EMAIL PROTECTED]:/home/lvgandhi# cat setproxy
> export http_proxy=http://150.1.35.36:3128
> export ftp_proxy=http://150.1.35.36:3128
> [EMAIL PROTECTED]:/home/lvgandhi# export http_proxy=http://150.1.35.36:3128
> [EMAIL PROTECTED]:/home/lvgandhi# export ftp_proxy=http://150.1.35.36:3128
> [EMAIL PROTECTED]:/home/lvgandhi# echo $http_proxy
> http://150.1.35.36:3128
>
> any solutions?
I know why it happens. I don't have a solution.
When you run a shell script your command interpreter spawns a new
shell and passes the script to it. When the spawned shell dies, the
export is also dead.
Thaths
--
"You don't quit your job because you don't like it, you just go in and do it
really half-assed." -- Homer J. Simpson
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help