Allow for RC versions in README update

This commit is contained in:
Keith Packard 2008-05-03 20:37:49 -07:00
parent 19d124dc4f
commit 0b15b5f38b
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ if [ $version != $last ]; then
#
# header
#
(sed '/^2\.[0-9.]*$/,$d' README |
(sed '/^2\.[0-9.]*/,$d' README |
sed -e "s/Version.*/Version $version_note/" \
-e "s/200.*/$date/" | awk '
/^[ \t]/ {
@ -98,7 +98,7 @@ if [ $version != $last ]; then
# previous changelogs
#
sed -n '/^2\.[0-9.]*$/,$p' README) > README.tmp ||
sed -n '/^2\.[0-9.]*/,$p' README) > README.tmp ||
(echo "README update failed"; exit 1)
mv README.tmp README