Package: devscripts
Version: 2.9.8
Severity: normal
Tags: patch

If you have "Version:" anywhere in your changelog, such as:

  * Remove Standards-Version:, not applicable to udebs.

... then 'debcommit --release' gets confused because it doesn't anchor
its grep for "Version:". Patch follows.

Index: debcommit.pl
===================================================================
--- debcommit.pl        (revision 265)
+++ debcommit.pl        (working copy)
@@ -71,7 +71,7 @@
        }
        close C;
 
-       my $version=`dpkg-parsechangelog | grep Version: | cut -f 2 -d ' '`;
+       my $version=`dpkg-parsechangelog | grep ^Version: | cut -f 2 -d ' '`;
        chomp $version;
 
        $message="releasing version $version" if ! defined $message;

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to