diff options
author | wiz <wiz@pkgsrc.org> | 2013-03-10 22:14:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-03-10 22:14:40 +0000 |
commit | 2882de0ce60e472b87d0da9f4b857c1a83159146 (patch) | |
tree | 93134e8cbb038a4c9487894247e1e645bfbbfab2 /textproc | |
parent | 62d6f47ff7da392d023529f66417f65d10b9a3ba (diff) | |
download | pkgsrc-2882de0ce60e472b87d0da9f4b857c1a83159146.tar.gz |
Stop looking at cat pages.
Diffstat (limited to 'textproc')
-rwxr-xr-x | textproc/mdoclint/files/mdoclint | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/textproc/mdoclint/files/mdoclint b/textproc/mdoclint/files/mdoclint index b97ad6bbac1..8bd67e2e866 100755 --- a/textproc/mdoclint/files/mdoclint +++ b/textproc/mdoclint/files/mdoclint @@ -1,7 +1,7 @@ #!@PERL5@ # # $OpenBSD: mdoclint,v 1.14 2009/04/13 12:40:05 espie Exp $ -# $NetBSD: mdoclint,v 1.28 2013/03/08 08:28:41 wiz Exp $ +# $NetBSD: mdoclint,v 1.29 2013/03/10 22:14:40 wiz Exp $ # # Copyright (c) 2001-2013 Thomas Klausner # All rights reserved. @@ -288,8 +288,7 @@ sub verify_xref for my $dir ("/usr/share/man", OPENBSD ? "/usr/X11R6/man" : "/usr/X11R7/man") { for my $a ("", $arch) { - for my $page ("cat$section/$a/$page.0", - "man$section/$a/$page.$section") { + for my $page ("man$section/$a/$page.$section") { return 1 if -f "$dir/$page"; } } |