From: Mark Wooding Date: Wed, 31 Jan 2007 16:13:26 +0000 (+0000) Subject: bash_profile: The whitespace fixes broke __mdw_conf -- unbreak it. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/09c4bed5217e3f8d9d34e725f18ccad74e0c92fd?ds=inline bash_profile: The whitespace fixes broke __mdw_conf -- unbreak it. Ooops. --- 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}`