]> git.donarmstrong.com Git - debhelper.git/commitdiff
r343: * Detect changelog parse failures and use a better error message.
authorjoey <joey>
Sun, 9 Apr 2000 03:10:07 +0000 (03:10 +0000)
committerjoey <joey>
Sun, 9 Apr 2000 03:10:07 +0000 (03:10 +0000)
Closes: #62058
Debian/Debhelper/Dh_Lib.pm
debian/changelog

index 915d37af3a80f3b99d7b95116cc025980eaea044..49d9d6d0aab3404c8717c21dcec899ce645efc8f 100644 (file)
@@ -264,6 +264,11 @@ sub pkgext { my $package=shift;
                        my $version=`dpkg-parsechangelog -l$isnative_changelog`;
                        ($dh{VERSION})=$version=~m/Version: (.*)/m;
 
+                       # Did the changelog parse fail?
+                       if (! defined $dh{VERSION}) {
+                               error("changelog parse failure");
+                       }
+
                        # Is this a native Debian package?
                        if ($dh{VERSION}=~m/.*-/) {
                                $isnative_cache{$package}=0;
index f5331352929572e5e33b529c6f447a2b45a2018d..eb0c4dd8477c9522794aae1c8f9965b3af5c7cce 100644 (file)
@@ -1,6 +1,13 @@
+debhelper (2.0.92) unstable; urgency=low
+
+  * Detect changelog parse failures and use a better error message. 
+    Closes: #62058
+
+ -- Joey Hess <joeyh@debian.org>  Sat,  8 Apr 2000 20:02:16 -0700
+
 debhelper (2.0.91) unstable; urgency=low
 
-  * Fixed a simmy typo in dh_installmanpages, Closes: #60727
+  * Fixed a silly typo in dh_installmanpages, Closes: #60727
 
  -- Joey Hess <joeyh@debian.org>  Sat, 18 Mar 2000 23:23:01 -0800