diff options
author | Will Andrews <will@FreeBSD.org> | 2000-09-21 16:22:15 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-09-21 16:22:15 +0000 |
commit | 89ac3f8bd9ab30330de8d30221fcec7a254a5484 (patch) | |
tree | fd4559815263b5f0884d7ed02e67fcbe28745e7e /ports-mgmt/portlint | |
parent | Revive idle it's not quite dead, so it was buried too early. (diff) |
Fix portlint bug where it thinks that missing a files/md5 is fatal but the
port actually does not have any DISTFILES variable. This *should* work
with slave/master ports, but I'm not sure.
Now the portlint port passes its own test. ;->
PR: 21380
Submitted by: des
Approved by: mharo
Notes
Notes:
svn path=/head/; revision=32938
Diffstat (limited to 'ports-mgmt/portlint')
-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 792a89031f99..79f63b49323d 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -284,7 +284,7 @@ foreach my $i (<patches/patch-??>) { foreach my $i (@checker) { print "OK: checking $i.\n"; if (! -f "$i") { - &perror("FATAL: no $i in \"$portdir\"."); + &perror("FATAL: no $i in \"$portdir\".") unless $i = $makevar{MD5_FILE} && $makevar{DISTFILES} eq ""; } else { my $proc = $checker{$i}; &$proc($i) || &perror("Cannot open the file $i\n"); |