From 15115559d3d98d08bc02122f582c54d7ef47fa4c Mon Sep 17 00:00:00 2001 From: mharo Date: Fri, 10 Nov 2000 07:20:43 +0000 Subject: fix a bug, $i = -> $i eq Submitted by: fenner --- devel/portlint/src/portlint.pl | 2 +- ports-mgmt/portlint/src/portlint.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl index ea795efdbb69..ae8e4f662d4a 100644 --- a/devel/portlint/src/portlint.pl +++ b/devel/portlint/src/portlint.pl @@ -369,7 +369,7 @@ foreach my $i () { foreach my $i (@checker) { print "OK: checking $i.\n"; if (! -f "$i") { - &perror("FATAL: no $i in \"$portdir\".") unless $i = $makevar{MD5_FILE} && $makevar{DISTFILES} eq ""; + &perror("FATAL: no $i in \"$portdir\".") unless $i eq $makevar{MD5_FILE} && $makevar{DISTFILES} eq ""; } else { my $proc = $checker{$i}; &$proc($i) || &perror("Cannot open the file $i\n"); diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index ea795efdbb69..ae8e4f662d4a 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -369,7 +369,7 @@ foreach my $i () { foreach my $i (@checker) { print "OK: checking $i.\n"; if (! -f "$i") { - &perror("FATAL: no $i in \"$portdir\".") unless $i = $makevar{MD5_FILE} && $makevar{DISTFILES} eq ""; + &perror("FATAL: no $i in \"$portdir\".") unless $i eq $makevar{MD5_FILE} && $makevar{DISTFILES} eq ""; } else { my $proc = $checker{$i}; &$proc($i) || &perror("Cannot open the file $i\n"); -- cgit