lintian: r137 - trunk/checks
Author: djpig
Date: 2004-04-08 21:57:55 +0200 (Thu, 08 Apr 2004)
New Revision: 137
Modified:
trunk/checks/fields
Log:
the check is named fields, not fields.new
Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields 2004-04-08 19:52:25 UTC (rev 136)
+++ trunk/checks/fields 2004-04-08 19:57:55 UTC (rev 137)
@@ -1,5 +1,5 @@
#!/usr/bin/perl -W
-# fields.new -- lintian check script (rewrite)
+# fields -- lintian check script (rewrite)
#
# Copyright (C) 2004 Marc Brockschmidt
#
@@ -27,7 +27,7 @@
use lib "$ENV{'LINTIAN_ROOT'}/checks/";
use common_data;
-($#ARGV == 1) or fail("syntax: fields.net <pkg> <type>");
+($#ARGV == 1) or fail("syntax: fields <pkg> <type>");
my $pkg = shift;
my $type = shift;
my $version;
@@ -404,7 +404,7 @@
unfold('origin', \$origin);
- print "W: $pkg $type: redundant-origin-field\n" if $origin =~ /^\s*debian\s*$/i
+ print "W: $pkg $type: redundant-origin-field\n" if $origin =~ /^\s*debian\s*$/i;
}
#----- Field checks (without checking the value)
Reply to: