diff options
author | mharo <mharo@FreeBSD.org> | 2000-11-10 07:20:43 +0000 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 2000-11-10 07:20:43 +0000 |
commit | 15115559d3d98d08bc02122f582c54d7ef47fa4c (patch) | |
tree | 98b8394876bd7221e5d248b0ecd2d6c57479990d /ports-mgmt | |
parent | f458ac66f24b762713140634ebb39e767bbf0f8d (diff) | |
download | FreeBSD-ports-15115559d3d98d08bc02122f582c54d7ef47fa4c.zip FreeBSD-ports-15115559d3d98d08bc02122f582c54d7ef47fa4c.tar.gz |
fix a bug, $i = -> $i eq
Submitted by: fenner
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index ea795ef..ae8e4f6 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -369,7 +369,7 @@ foreach my $i (<patches/patch-??>) { 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"); |