chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e63a119
)
bash_profile: The whitespace fixes broke __mdw_conf -- unbreak it.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 31 Jan 2007 16:13:26 +0000
(16:13 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 31 Jan 2007 16:13:26 +0000
(16:13 +0000)
Ooops.
bash_profile
patch
|
blob
|
blame
|
history
diff --git
a/bash_profile
b/bash_profile
index 8c7dca6ea9bff0a4190819e972c8aac6d6e3ee72..1f0306c22678f8921f66449bdfefcda2ae4e1f90 100644
(file)
--- a/
bash_profile
+++ b/
bash_profile
@@
-59,7
+59,7
@@
__mdw_addto () {
__mdw_conf () {
local var=$1
val=`sed -n "
__mdw_conf () {
local var=$1
val=`sed -n "
- /^[
]*$var[ ]*=[ ]*\(\|.*[^ ]\)[ ]*$/ {
+ /^[ ]*$var[ ]*=[ ]*\(\|.*[^ ]\)[ ]*$/ {
s//\1/; p; q
}
" ${MDWCONF-$HOME/.mdw.conf}`
s//\1/; p; q
}
" ${MDWCONF-$HOME/.mdw.conf}`