aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJosh Hagins2016-10-12 04:54:12 -0400
committerGitHub2016-10-12 04:54:12 -0400
commit72f9515e9b4657ef728a6476e6742d0529208c1a (patch)
tree3df46d8d1899385af92101bb3160d1f83160f8dd /Library
parent01a92dd94eb3d10779992e332a30bd3b5434a593 (diff)
parent6cecc4c03e6dfe4578d74d712f689d99f4d30f68 (diff)
downloadbrew-72f9515e9b4657ef728a6476e6742d0529208c1a.tar.bz2
Merge pull request #1267 from jawshooah/perf/keg-text-executable
keg_relocate: left out text_executable? check in #1258
Diffstat (limited to 'Library')
-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 dcf592ae4..4fc7143b8 100644
--- a/Library/Homebrew/keg_relocate.rb
+++ b/Library/Homebrew/keg_relocate.rb
@@ -79,6 +79,7 @@ class Keg
stdin_data: files.join("\0"))
output.each_line.with_index do |line, i|
next unless line.include?("text")
+ next unless files[i].text_executable?
text_files << files[i]
end
end