[SCM] Debian packaging of libconfig-model-perl branch, fix-dh-cm, updated. debian/2.038-1-9-gc25dd92

Dominique Dumont dod at debian.org
Mon Jul 22 18:31:50 UTC 2013


The following commit has been merged in the fix-dh-cm branch:
commit 2a5a84bfe437837f194ae7976f98a8c30a340c08
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Jul 22 19:21:58 2013 +0200

    ignore blank lines in $pkg.config-model files

diff --git a/debian/dh/dh_config_model_upgrade b/debian/dh/dh_config_model_upgrade
index b70b6b1..76d530a 100644
--- a/debian/dh/dh_config_model_upgrade
+++ b/debian/dh/dh_config_model_upgrade
@@ -70,6 +70,7 @@ foreach my $package (@do_packages) {
     while ($_ = shift @meta) {
         chomp;
         s/#.*//;
+        next unless /\w/;
         my ( $k, $v ) = split /\s*?[:= ]\s*/,$_,2;
         if ( not $legal{$k} ) {
             die "Error: Unexpected option $k in $metaconf, expected @legal_list\n";

-- 
Debian packaging of libconfig-model-perl



More information about the Pkg-perl-cvs-commits mailing list