summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2006-01-27 02:25:52 +0000
committerrillig <rillig>2006-01-27 02:25:52 +0000
commitb530d60a48f65726eec213684a5125c9355c19bb (patch)
tree6b57fcfe9c4784c2cdaa53920a137374967aeffb /pkgtools
parentf3af10647d5c06154ca46d470f391df033ea1bc2 (diff)
downloadpkgsrc-b530d60a48f65726eec213684a5125c9355c19bb.tar.gz
- Found the one variable that slipped through when renaming $file to
$fname.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 51f2fe902f9..d57160fa89d 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.490 2006/01/27 00:56:26 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.491 2006/01/27 02:25:52 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -374,8 +374,8 @@ use constant BEFORE => 5;
use constant AFTER => 6;
sub new($$$$) {
- my ($class, $file, $lines, $text, $physlines) = @_;
- my ($self) = ([$file, $lines, $text, $physlines, false, [], []]);
+ my ($class, $fname, $lines, $text, $physlines) = @_;
+ my ($self) = ([$fname, $lines, $text, $physlines, false, [], []]);
bless($self, $class);
return $self;
}