aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Hagins2016-10-12 03:46:46 -0400
committerJosh Hagins2016-10-12 04:02:47 -0400
commit6cecc4c03e6dfe4578d74d712f689d99f4d30f68 (patch)
tree46c3d5b3d53ca2b7bd7f3e1a1ab7fe7d7ddf20ae
parentaf78b64d5c88f4a2df32c043f8e8cffd50fd3067 (diff)
downloadbrew-6cecc4c03e6dfe4578d74d712f689d99f4d30f68.tar.bz2
keg_relocate: left out text_executable? check in #1258
-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