[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r256 - in trunk: checks debian



Author: djpig
Date: 2004-05-05 01:28:32 +0200 (Wed, 05 May 2004)
New Revision: 256

Modified:
   trunk/checks/debhelper
   trunk/debian/changelog
Log:
Avoid Perl warning about undefined values


Modified: trunk/checks/debhelper
===================================================================
--- trunk/checks/debhelper	2004-05-04 22:25:51 UTC (rev 255)
+++ trunk/checks/debhelper	2004-05-04 23:28:32 UTC (rev 256)
@@ -126,7 +126,7 @@
 	close IN;
 	
 	if ((! $seentag) and $needtomodifyscripts) {
-	    tag "maintainer-script-lacks-debhelper-token", "debian/$file" unless $binpkg && ($pkgs{$binpkg} =~ /udeb/i);
+	    tag "maintainer-script-lacks-debhelper-token", "debian/$file" unless $binpkg && $pkgs{$binpkg} && ($pkgs{$binpkg} =~ /udeb/i);
 	}
     } elsif ($file =~ m/^compat$/) {
 	open IN, "debfiles/$file"

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-05-04 22:25:51 UTC (rev 255)
+++ trunk/debian/changelog	2004-05-04 23:28:32 UTC (rev 256)
@@ -7,6 +7,8 @@
   * checks/cruft{,.desc}:
     + [JvW] cvsignore-file-in-source is now info, because it happens so often
       by upstream, and is only very minor in size
+  * checks/debhelper:
+    + [FL] Avoid Perl warning about undefined values. Noted by JvW.
   * checks/fields{,.desc}:
     + [JvW] Added debian-revision-should-not-be-zero, suggested by Adam
       Conrad



Reply to: