[debhelper-devel] [debhelper] 01/01: Dh_Lib: The output of dpkg-parsechangelog is defined
Niels Thykier
nthykier at moszumanska.debian.org
Sat Dec 26 23:11:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 7fc4d39cdca9ac55a4a18d9baa27a34d66e51657
Author: Niels Thykier <niels at thykier.net>
Date: Sat Dec 26 23:11:25 2015 +0000
Dh_Lib: The output of dpkg-parsechangelog is defined
Signed-off-by: Niels Thykier <niels at thykier.net>
---
Debian/Debhelper/Dh_Lib.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index b4d16ac..732f539 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -562,7 +562,7 @@ sub pkgfilename {
my $version=`dpkg-parsechangelog -l$isnative_changelog -SVersion`;
chomp($dh{VERSION} = $version);
# Did the changelog parse fail?
- if (! defined $dh{VERSION}) {
+ if ($dh{VERSION} eq q{}) {
error("changelog parse failure");
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list