aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-08-17 18:55:51 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-08-17 18:55:51 +0530
commit1e5c8a24dc70a33eac989548039826a699f361f6 (patch)
treefd3ced8dc53cd96789b959382f6e73849879eaf5
parentUpdate TODO (diff)
downloadautotua-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-xscripts/git-proxy-cmd.sh2
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