text_files: Skip the formula in .brew/formula.rb
This commit is contained in:
parent
e86c79fbc0
commit
03ae6aae3b
@ -124,6 +124,7 @@ class Keg
|
|||||||
next true if pn.symlink?
|
next true if pn.symlink?
|
||||||
next true if pn.directory?
|
next true if pn.directory?
|
||||||
next false if pn.basename.to_s == "orig-prefix.txt" # for python virtualenvs
|
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)
|
next true if Metafiles::EXTENSIONS.include?(pn.extname)
|
||||||
if pn.text_executable?
|
if pn.text_executable?
|
||||||
text_files << pn
|
text_files << pn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user