diff options
author | Michael Haro <mharo@FreeBSD.org> | 2000-11-10 15:20:43 +0800 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2000-11-10 15:20:43 +0800 |
commit | 2beea6cfcb0433f464d8e0c047047c6201a05726 (patch) | |
tree | 85e47f6e583482c8813f9a23d292cac7bdaf41fa | |
parent | dd85f663cca4c22fe15ea76ca87b75d4d03095c7 (diff) | |
download | freebsd-ports-gnome-2beea6cfcb0433f464d8e0c047047c6201a05726.tar.gz freebsd-ports-gnome-2beea6cfcb0433f464d8e0c047047c6201a05726.tar.zst freebsd-ports-gnome-2beea6cfcb0433f464d8e0c047047c6201a05726.zip |
fix a bug, $i = -> $i eq
Submitted by: fenner
-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"); |