aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaun Jackman2017-10-01 09:52:29 -0700
committerShaun Jackman2017-10-01 18:27:05 -0700
commit03ae6aae3b95447bc79398b3c58a9fcee67e98ef (patch)
tree18d4864307f715656c5861f16c8a46b1c477fb53
parente86c79fbc01d08f73841a525d29c03c5243081fa (diff)
downloadbrew-03ae6aae3b95447bc79398b3c58a9fcee67e98ef.tar.bz2
text_files: Skip the formula in .brew/formula.rb
-rw-r--r--Library/Homebrew/keg_relocate.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb
index 085748632..71773db81 100644
--- a/Library/Homebrew/keg_relocate.rb
+++ b/Library/Homebrew/keg_relocate.rb
@@ -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