scripts: add plain and additive build scripts
[barry.git] / debian-snap.sh
bloba29397344763af9cc14ad89a314c4a864284501e
1 #!/bin/sh
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