summaryrefslogtreecommitdiff
path: root/devel/portlint/src/portlint.pl
diff options
context:
space:
mode:
Diffstat (limited to 'devel/portlint/src/portlint.pl')
-rw-r--r--devel/portlint/src/portlint.pl2
1 files changed, 1 insertions, 1 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 (<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");