keg: fix normalize_pod2man_outputs! for compressed manpages
This commit is contained in:
parent
38385c8cbf
commit
b5db95bee5
@ -556,7 +556,8 @@ class Keg
|
||||
end
|
||||
|
||||
def normalize_pod2man_outputs!
|
||||
manpages = Dir[path/"share/man/*/*"]
|
||||
# Only process uncompressed manpages, which end in a digit
|
||||
manpages = Dir[path/"share/man/*/*.[1-9]"]
|
||||
generated_regex = /^\.\\"\s*Automatically generated by .*\n/
|
||||
manpages.each do |f|
|
||||
manpage = Pathname.new(f)
|
||||
|
Loading…
x
Reference in New Issue
Block a user