Merge pull request #3257 from sjackman/text-files

text_files: Skip the formula in .brew/formula.rb
This commit is contained in:
Mike McQuaid 2017-10-02 09:28:50 +01:00 committed by GitHub
commit e7cf509cfb

View File

@ -124,6 +124,7 @@ class Keg
next true if pn.symlink?
next true if pn.directory?
next false if pn.basename.to_s == "orig-prefix.txt" # for python virtualenvs
next true if pn == self/".brew/#{name}.rb"
next true if Metafiles::EXTENSIONS.include?(pn.extname)
if pn.text_executable?
text_files << pn