+ rc=0
+ grep -q -F '$Format' lib/bup/_release.py || rc=$?
+ case $rc in
+ 0) update-cpy
+ ;;
+ 1) if test -d .git; then
+ echo 'error: detected release, but found ./.git' 1>&2
+ exit 1
+ fi
+ echo "Detected release tree; skipping version configuration" 1>&2
+ exit 0
+ ;;
+ *)
+ echo 'error: grep failed' 1>&2
+ exit 1
+ esac