updates & sync

This commit is contained in:
joey
2003-07-11 19:24:18 +00:00
parent 9c0a3d70f9
commit f43eea0d89
2 changed files with 9 additions and 1 deletions

View File

@@ -312,7 +312,7 @@ sub prep {
# release or version. Parse changelog to detect that.
open (my $changelog, "<$dir/debian/changelog") || return;
my $line=<$changelog>;
if ($line=~/^[^ ]+\(([^)])\)\s/) {
if ($line=~/^[^ ]+\s+\(([^)]+)\)\s/) {
my $version=$1;
if ($version=~/(.*)-(.*)/) {
$version=$1;