[Yum] Re: Still hopeless on getting proxy to work

Rex Dieter rdieter at math.unl.edu
Fri Feb 24 19:46:16 UTC 2006


mbylander at legionaries.org wrote:


>>>For the record, here is my wrapper (yumwrap):
>>>
>>>#!/bin/sh
>>>http_proxy=
>>>HTTP_PROXY=
>>>ftp_proxy=
>>>FTP_PROXY=
>>>yum $1 $2

>>This script does nothing.  You didn't export the variables 
>>you set, so 

> (Don't the variables stay set for the 
> duration of the script anyway, so that the calling of yum at 
> the end is affected by those variables?

No.  Without exporting the var's, they don't get inherited by child 
processes (like yum, in this case).

-- Rex




More information about the Yum mailing list