From 4f4dc9e0ef3b96fbba41fbab183f6dc01cc2c1a2 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Wed, 11 Feb 2004 15:04:34 +0000 Subject: [PATCH] * commit: Completely change CVS/Root->name sed script to actually work when :ext: is not shown. --- ChangeLog | 3 +++ commit | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 30cfe848e..d6d99d5a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-02-11 Gary V. Vaughan + * 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. diff --git a/commit b/commit index 3e0c47386..d3d8a15ec 100755 --- a/commit +++ b/commit @@ -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" -- 2.47.2