]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* commit: Completely change CVS/Root->name sed script to actually
authorGary V. Vaughan <gary@gnu.org>
Wed, 11 Feb 2004 15:04:34 +0000 (15:04 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 11 Feb 2004 15:04:34 +0000 (15:04 +0000)
work when :ext: is not shown.

ChangeLog
commit

index 30cfe848e9b63f5b6247a55974e04bf1de94dafc..d6d99d5a4e2f821c2bc99b374d69ed5cca7bfa6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
diff --git a/commit b/commit
index 3e0c47386b8ce3828f20c1d87d689c0e3dda16d2..d3d8a15ec573d19857699025d9d875280c3401c8 100755 (executable)
--- 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"