3 # Meant to be run from the root of a Barry source tree.
5 sed "1 s/(.*)/($1.$2-cvs$(date '+%Y%m%d'))/" < debian
/changelog
> debian
/changelog
.2
6 mv debian
/changelog
.2 debian
/changelog
8 echo "Updated debian/changelog to current date:"
9 head -n 1 < debian
/changelog