<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=156500313-16102008>I have a system
variable that I created with my http proxy info:
http_proxy=http://.....</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=156500313-16102008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=156500313-16102008>I put this in a
shell config file so it is available to both root and my user account. So
far, so good.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=156500313-16102008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=156500313-16102008>Now I need to use
the variable in yum.conf so I set the line:
proxy=$http_proxy</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=156500313-16102008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=156500313-16102008>No good, error says
it wants a url not ' '.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=156500313-16102008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=156500313-16102008>If I type in the
full proxy info line it works.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=156500313-16102008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=156500313-16102008>Any ideas how to use
a system variable in a config file?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=156500313-16102008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=156500313-16102008>(Fedora
9)</SPAN></FONT></DIV></BODY></HTML>