[wplug] Using System Vars

Weber, Lawrence A laweber at switch.com
Thu Oct 16 09:09:06 EDT 2008


I have a system variable that I created with my http proxy info:
http_proxy=http://.....
 
I put this in a shell config file so it is available to both root and my
user account.  So far, so good.
 
Now I need to use the variable in yum.conf  so I set the line:
proxy=$http_proxy
 
No good, error says it wants a url not ' '.
 
If I type in the full proxy info line it works.
 
Any ideas how to use a system variable in a config file?
 
(Fedora 9)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20081016/f89a7897/attachment.html 


More information about the wplug mailing list