X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Fproxy.bashrc;h=ecf56ae35323e31f5c9fa8d7495c52a6446efeaf;hb=7e973fb6a4ec8da564b4621658e2c4d583560d33;hp=a0096d1f175de538eb27fc73c50752ec16df1dda;hpb=eaac4916b4ac9d16d5bae80e256f946cb340b932;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