# HG changeset patch # User "Yann E. MORIN" # Date 1218303955 0 # Node ID 153450c9a9ab3523537c746b69b4818ff402e406 # Parent 77d925a3765aaa45c4762b8d951b5f255049c62b Merge #914 from branches/eglibc: Fix setting the proxy. /trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -r 77d925a3765a -r 153450c9a9ab scripts/functions --- a/scripts/functions Sat Aug 09 17:44:34 2008 +0000 +++ b/scripts/functions Sat Aug 09 17:45:55 2008 +0000 @@ -290,9 +290,10 @@ # Set environment for proxy access # Usage: CT_DoSetProxy -# where proxy_type is one of 'none', 'http', 'sockssys', 'socks4' or 'socks5' +# where proxy_type is one of 'http', 'sockssys', 'socks4' or 'socks5', +# or empty (to not change proxy settings). CT_DoSetProxy() { - case "${CT_PROXY_TYPE}" in + case "${1}" in http) http_proxy="http://" case "${CT_PROXY_USER}:${CT_PROXY_PASS}" in