diff options
author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2008-08-17 18:55:51 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2008-08-17 18:55:51 +0530 |
commit | 1e5c8a24dc70a33eac989548039826a699f361f6 (patch) | |
tree | fd3ced8dc53cd96789b959382f6e73849879eaf5 | |
parent | Update TODO (diff) | |
download | autotua-1e5c8a24dc70a33eac989548039826a699f361f6.tar.gz autotua-1e5c8a24dc70a33eac989548039826a699f361f6.tar.bz2 autotua-1e5c8a24dc70a33eac989548039826a699f361f6.zip |
Fix teeny weeny bug in git-proxy-cmd.sh related to anon proxies
-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 |