chiark
/
gitweb
/
~cjwatson
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
660b8b4
)
cope with running in a bzr checkout
author
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Mon, 15 May 2006 15:51:11 +0000
(15:51 +0000)
committer
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Mon, 15 May 2006 15:51:11 +0000
(15:51 +0000)
baz-update-config
patch
|
blob
|
history
diff --git
a/baz-update-config
b/baz-update-config
index 6eadf04fedbc1f0b86dd565c2f58b74e319dab8b..5949047822840f508cbaae273b05d9b1987bb2ea 100755
(executable)
--- a/
baz-update-config
+++ b/
baz-update-config
@@
-12,7
+12,7
@@
NEWLINE='
IFS_SAVE="$IFS"
IFS="$NEWLINE"
-for line in $(baz cat-config "$1"); do
+for line in $(baz cat-config "$1"
2>/dev/null || cat "$1"
); do
IFS="$IFS_SAVE"
set -- $line
DIR="$1"