From 09c4bed5217e3f8d9d34e725f18ccad74e0c92fd Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 31 Jan 2007 16:13:26 +0000 Subject: [PATCH 1/1] bash_profile: The whitespace fixes broke __mdw_conf -- unbreak it. Ooops. --- bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_profile b/bash_profile index 8c7dca6..1f0306c 100644 --- a/bash_profile +++ b/bash_profile @@ -59,7 +59,7 @@ __mdw_addto () { __mdw_conf () { local var=$1 val=`sed -n " - /^[ ]*$var[ ]*=[ ]*\(\|.*[^ ]\)[ ]*$/ { + /^[ ]*$var[ ]*=[ ]*\(\|.*[^ ]\)[ ]*$/ { s//\1/; p; q } " ${MDWCONF-$HOME/.mdw.conf}` -- 2.11.0