Update the date in README properly

This commit is contained in:
Akira TAGOH 2013-01-10 17:56:51 +09:00
parent 9066fbe785
commit 98352247f2
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ if [ $version != $last ]; then
# header
#
(sed '/^2\.[0-9.]*/,$d' README |
sed -e "s/Version.*/Version $version_note/" \
-e "s/200.*/$date/" | awk '
sed -r -e "s/Version.*/Version $version_note/" \
-e "s/[0-9]{4}\-[0-9]{2}\-[0-9]{2}$/$date/" | awk '
/^[ \t]/ {
gsub ("^[ \t]*", "");
gsub ("[ \t]*$", "");