mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 08:13:08 +08:00
Ignore references to builtin on the mac
On my system (OS-X 10.11) references to builtin are denoted by: ".so man1/builtin.1". So you also need to check against that.
This commit is contained in:
parent
e7d18b96f9
commit
8d97a85834
|
@ -759,7 +759,7 @@ def parse_manpage_at_path(manpage_path, output_directory):
|
|||
return
|
||||
|
||||
# Ignore the millions of links to BUILTIN(1)
|
||||
if manpage.find('BUILTIN 1') != -1:
|
||||
if 'BUILTIN 1' in manpage or 'builtin.1' in manpage:
|
||||
return
|
||||
|
||||
# Clear the output list
|
||||
|
|
Loading…
Reference in New Issue
Block a user