[SCM] Git repository for devscripts branch, master, updated. v2.12.4-181-g4aafa64
James McCoy
jamessan at debian.org
Wed Mar 20 23:33:55 UTC 2013
The following commit has been merged in the master branch:
commit 4aafa64147f1f7bfdfa8e07a3314d42b0803042a
Author: James McCoy <jamessan at debian.org>
Date: Wed Mar 20 19:33:07 2013 -0400
mk-build-deps: Skip malformed stanzas instead of outright failing.
Closes: #679631
Signed-off-by: James McCoy <jamessan at debian.org>
diff --git a/debian/changelog b/debian/changelog
index 9e91078..bc64843 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ devscripts (2.13.1) UNRELEASED; urgency=low
[ James McCoy ]
* debdiff: Handle control files with odd permissions. Thanks to Julian
Gilbey for the patch. (Closes: #702610)
+ * mk-build-deps: Skip malformed stanzas instead of outright failing.
+ (Closes: #679631)
[ Dmitrijs Ledkovs ]
* wrap-and-sort: Add trailing comma option (Closes: #703323).
diff --git a/scripts/mk-build-deps.pl b/scripts/mk-build-deps.pl
index c236200..7b5d2d4 100755
--- a/scripts/mk-build-deps.pl
+++ b/scripts/mk-build-deps.pl
@@ -240,7 +240,8 @@ while ($control = shift) {
# parse() dies if the file isn't syntactically valid and returns undef
# if there simply weren't any fields parsed
unless ($ctrl->parse($fh, $descr)) {
- die "$progname: Unable to find package name in $descr\n";
+ warn "$progname: Unable to find package name in $descr\n";
+ next;
}
if (defined $pid) {
wait_child($pid, no_check => 1);
--
Git repository for devscripts
More information about the devscripts-devel
mailing list