git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
508ebf7
)
Stop bash2/sudo complaining that subversion servers file isn't readable.
author
Iain Patterson
<me@iain.cx>
Mon, 2 Jul 2007 15:22:18 +0000
(15:22 +0000)
committer
Iain Patterson
<me@iain.cx>
Mon, 2 Jul 2007 15:22:18 +0000
(15:22 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@62
6be0d1a5
-5cfe-0310-89b6-
964be062b18b
.profile.d/proxy.bashrc
patch
|
blob
|
history
diff --git
a/.profile.d/proxy.bashrc
b/.profile.d/proxy.bashrc
index
a0096d1
..
ecf56ae
100644
(file)
--- 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