aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg_relocate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb
index a66670273..8b4c76c76 100644
--- a/Library/Homebrew/keg_relocate.rb
+++ b/Library/Homebrew/keg_relocate.rb
@@ -163,7 +163,7 @@ class Keg
path.find do |pn|
next if pn.symlink? or pn.directory?
next if Metafiles::EXTENSIONS.include? pn.extname
- text_files << pn if Utils.popen_read("/usr/bin/file", pn).include?("text")
+ text_files << pn if Utils.popen_read("/usr/bin/file", "--brief", pn).include?("text")
end
text_files