* commit: Completely change CVS/Root->name sed script to actually

work when :ext: is not shown.
This commit is contained in:
Gary V. Vaughan 2004-02-11 15:04:34 +00:00
parent 46894858fd
commit 4f4dc9e0ef
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2004-02-11 Gary V. Vaughan <gary@gnu.org>
* commit: Completely change CVS/Root->name sed script to actually
work when :ext: is not shown.
* commit: Improve CVS/Root->name sed script to work when :ext: is
not shown.

6
commit
View File

@ -380,15 +380,15 @@ if test -n "$sendmail_to"; then
{
test -f CVS/Root &&
echo "CVSROOT: `sed -e 's,.*:,,g' CVS/Root`"
echo " CVSROOT: `sed -e 's,.*:,,g' CVS/Root`"
test -f ./mkstamp &&
echo "TIMESTAMP: `$SHELL ./mkstamp < ./ChangeLog`"
echo "TIMESTAMP: `$SHELL ./mkstamp < ./ChangeLog`"
test -f CVS/Repository &&
echo "Module name: `cat CVS/Repository`"
test -f CVS/Tag &&
echo "Branch: `sed -e 's,^T,,;1q' CVS/Tag`"
test -f CVS/Root &&
echo "Changes by: `sed -e 's,^.*:*\(.*@.*\):.*$,\1,' CVS/Root`"
echo "Changes by: `sed -e 's,:.*$,,g;s^.*:,,' CVS/Root`"
echo ""
echo "Log Message:"
sed -e 's,^, ,' "$log_file"