[Pkg-cli-common-commits] [SCM] cli-common branch, master, updated. debian/0.8_exp2-8-g7c49056

Iain Lane laney at ubuntu.com
Tue May 17 22:57:49 UTC 2011


The following commit has been merged in the master branch:
commit 6c0922ecc13bb275723963e34d0ab3ed7727843b
Author: Iain Lane <laney at ubuntu.com>
Date:   Tue May 17 20:42:19 2011 +0100

    Fix case insensitive ignore

diff --git a/dh_clideps b/dh_clideps
index 3d99be1..b378bf9 100755
--- a/dh_clideps
+++ b/dh_clideps
@@ -648,8 +648,8 @@ sub resolveShlibRefs {
      my $skip = 0;
      foreach my $excluded_moduleref (@{$dh{MODULE_EXCLUDE}}) {
        # explicitly excluded modulerefs are never checked
-       $excluded_moduleref =~ /^(i:)(.*)/;
-       if ($1 eq "i:" && $2 =~ /$name(.dll)?/i) {
+       $excluded_moduleref =~ /^(i:)?(.*)/;
+       if (defined $1 && $1 eq "i:" && $2 =~ /$name(.dll)?/i) {
          # i: specified; case insensitive match
          verbose_print("Ignoring moduleref $name (case insensitive)");
          $skip = 1;

-- 
cli-common



More information about the Pkg-cli-common-commits mailing list