pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Fixed a typo ($line->error -> $...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8dcddfc701d
branches:  trunk
changeset: 502775:b8dcddfc701d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Nov 08 21:13:43 2005 +0000

description:
Fixed a typo ($line->error -> $line->log_error).

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 83b8ec36941f -r b8dcddfc701d pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Nov 08 21:09:48 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Nov 08 21:13:43 2005 +0000
@@ -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.338 2005/11/08 21:09:48 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.339 2005/11/08 21:13:43 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -2084,7 +2084,7 @@
                        my ($varname, $op, $value, $comment) = ($1, $2, $3, $4);
 
                        if ($varname =~ qr"^_") {
-                               $line->error("Variable names starting with an underscore are reserved for internal pkgsrc use.");
+                               $line->log_error("Variable names starting with an underscore are reserved for internal pkgsrc use.");
                        }
 
                        if ($varname eq "COMMENT") {



Home | Main Index | Thread Index | Old Index