From 4c084b173893d32a777784e2fce2315ba7c48d7d Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 2 Jul 2007 15:22:18 +0000 Subject: [PATCH] Stop bash2/sudo complaining that subversion servers file isn't readable. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@62 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .profile.d/proxy.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1