diff options
-rwxr-xr-x | scripts/git-proxy-cmd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git-proxy-cmd.sh b/scripts/git-proxy-cmd.sh index c69d4ad..aa9fc61 100755 --- a/scripts/git-proxy-cmd.sh +++ b/scripts/git-proxy-cmd.sh @@ -1,7 +1,7 @@ proxy=${http_proxy#http://} host=${proxy##*@} auth=${proxy%@*} -if test -n "${auth}"; then +if test "${auth}" != "${proxy}"; then export HTTP_PROXY_USER=${auth%%:*} export HTTP_PROXY_PASSWORD=${auth##*:} fi |