]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix match for version
authorNorman Walsh <ndw@nwalsh.com>
Thu, 16 May 2002 18:05:03 +0000 (18:05 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 16 May 2002 18:05:03 +0000 (18:05 +0000)
cvstools/mergechangelogs

index 7a887d9407482c3e9ea2f086820dc482c29a9699..8f033a3f526bee1c9e675b74f7d1087767aec07c 100755 (executable)
@@ -40,7 +40,8 @@ open (F, "ChangeLog");
 while (<F>) {
     chop;
     $date = $1 if /^(\d+-\d+-\d+)/;
-    $found = 1 if /^\s+\* \S+: Version $version/;
+    $found = 1 if /^\s+\* \S+: Version $version\s+/;
+    $found = 1 if /^\s+\* \S+: Version $version\s*$/;
     last if $found;
 }