From 2beea6cfcb0433f464d8e0c047047c6201a05726 Mon Sep 17 00:00:00 2001 From: Michael Haro 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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel') 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"); -- cgit v1.2.3