diff options
author | will <will@FreeBSD.org> | 2000-09-22 00:22:15 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-09-22 00:22:15 +0800 |
commit | a423963728e39f6e317499eb74356128b744750e (patch) | |
tree | 25520da6bfcd2555a6cdc1e71db6f70b66a77fa3 /devel/portlint | |
parent | 3269bfb9afc7d986356c9a998d7d2c6b33c8e39a (diff) | |
download | freebsd-ports-gnome-a423963728e39f6e317499eb74356128b744750e.tar.gz freebsd-ports-gnome-a423963728e39f6e317499eb74356128b744750e.tar.zst freebsd-ports-gnome-a423963728e39f6e317499eb74356128b744750e.zip |
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
Diffstat (limited to 'devel/portlint')
-rw-r--r-- | devel/portlint/src/portlint.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl index 792a89031f99..79f63b49323d 100644 --- a/devel/portlint/src/portlint.pl +++ b/devel/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"); |