diff options
-rw-r--r-- | devel/portlint/src/portlint.pl | 2 | ||||
-rw-r--r-- | 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 (<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"); 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 (<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"); |