mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-13 21:08:19 +00:00
Merge #914 from branches/eglibc:
Fix setting the proxy. /trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
This commit is contained in:
@ -290,9 +290,10 @@ CT_GetFileExtension() {
|
|||||||
|
|
||||||
# Set environment for proxy access
|
# Set environment for proxy access
|
||||||
# Usage: CT_DoSetProxy <proxy_type>
|
# Usage: CT_DoSetProxy <proxy_type>
|
||||||
# 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() {
|
CT_DoSetProxy() {
|
||||||
case "${CT_PROXY_TYPE}" in
|
case "${1}" in
|
||||||
http)
|
http)
|
||||||
http_proxy="http://"
|
http_proxy="http://"
|
||||||
case "${CT_PROXY_USER}:${CT_PROXY_PASS}" in
|
case "${CT_PROXY_USER}:${CT_PROXY_PASS}" in
|
||||||
|
Reference in New Issue
Block a user