summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-02-16 00:21:17 +0000
committerrillig <rillig@pkgsrc.org>2005-02-16 00:21:17 +0000
commitc1dae48a7747afe378a947d8491a84478cd0a45b (patch)
tree0373304f69cd7075231fc954081bd55ed8f26c71
parent121da6d905953351e3f3a3d4fabcc7571ab4d762 (diff)
downloadpkgsrc-c1dae48a7747afe378a947d8491a84478cd0a45b.tar.gz
Changed the message about sorting PLIST files from FATAL to WARNING.
Approved by wiz.
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 276bcc5d950..3fada8b6127 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.130 2005/02/15 21:07:01 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.131 2005/02/16 00:21:17 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf@netbsd.org>,
@@ -862,7 +862,7 @@ sub checkfile_PLIST($) {
if ($line->text =~ qr"^[\w\d]") {
if (defined($last_file_seen)) {
if ($last_file_seen gt $line->text) {
- log_error($line->file, $line->lineno, $line->text." must be sorted before ${last_file_seen}.");
+ log_warning($line->file, $line->lineno, $line->text." should be sorted before ${last_file_seen}.");
}
}
$last_file_seen = $line->text;