Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Commit

Permalink
keg_relocate: Fix for missing /usr/bin/file
Browse files Browse the repository at this point in the history
Change /usr/bin/file to file

See #28
  • Loading branch information
sjackman committed May 7, 2016
1 parent 1aedfd3 commit bd49ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/keg_relocate.rb
Expand Up @@ -200,7 +200,7 @@ def text_files
path.find do |pn|
next if pn.symlink? || pn.directory?
next if Metafiles::EXTENSIONS.include? pn.extname
if Utils.popen_read("/usr/bin/file", "--brief", pn).include?("text") ||
if Utils.popen_read("file", "--brief", pn).include?("text") ||
pn.text_executable?
text_files << pn
end
Expand Down

0 comments on commit bd49ee2

Please sign in to comment.