From: Colin Watson Date: Mon, 15 May 2006 15:51:11 +0000 (+0000) Subject: cope with running in a bzr checkout X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=commitdiff_plain;h=e0aa59f763fcf0414acbc5e63274697430004f53;ds=sidebyside cope with running in a bzr checkout --- diff --git a/baz-update-config b/baz-update-config index 6eadf04..5949047 100755 --- 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"