From: Gary V. Vaughan Date: Wed, 11 Feb 2004 15:04:34 +0000 (+0000) Subject: * commit: Completely change CVS/Root->name sed script to actually X-Git-Tag: release-1-9b~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f4dc9e0ef3b96fbba41fbab183f6dc01cc2c1a2;p=thirdparty%2Flibtool.git * commit: Completely change CVS/Root->name sed script to actually work when :ext: is not shown. --- 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"