]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2005-07-17 17:30:46 by cjwatson]
authorcjwatson <>
Mon, 18 Jul 2005 00:30:46 +0000 (16:30 -0800)
committercjwatson <>
Mon, 18 Jul 2005 00:30:46 +0000 (16:30 -0800)
Strip off random junk at the end of a version.

migrate/debbugs-makeversions

index 84b6943b45f8b280b23d905286d0246744c70df2..67f3e152b8e9237925ff4e79c42fffb2acf76365 100755 (executable)
@@ -74,6 +74,8 @@ sub getbuginfo ($)
                next if $fv =~ /^unavailable/i;
                $fv =~ s/;.*//;
                $fv =~ s/ *\(.*\)//;
+               # Strip off other random junk at the end of a version.
+               $fv =~ s/ *[A-Za-z].*//;
                $ver = $fv;
            }
        }