X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Fproxy.bashrc;fp=.profile.d%2Fproxy.bashrc;h=ecf56ae35323e31f5c9fa8d7495c52a6446efeaf;hb=4c084b173893d32a777784e2fce2315ba7c48d7d;hp=a0096d1f175de538eb27fc73c50752ec16df1dda;hpb=508ebf773fb67e7970f4087fab4591399bc59edb;p=profile.git diff --git a/.profile.d/proxy.bashrc b/.profile.d/proxy.bashrc index a0096d1..ecf56ae 100644 --- a/.profile.d/proxy.bashrc +++ b/.profile.d/proxy.bashrc @@ -3,7 +3,7 @@ servers=~/.subversion/servers -if [ -r "$servers" ]; then +if [ -O "$servers" ]; then eval $(sed -n '/^\[global\]/,/^\[/s/^http-proxy-\([^= ]*\) *= *\(.*\)/proxy_\1="\2"/p' "$servers") creds="" if [ ! -z "$proxy_host" ]; then