aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/keg_fix_install_names.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-05 13:50:54 -0500
committerJack Nagel2014-07-05 15:41:22 -0500
commit3e2f255b2ba9489e3370cdbd9f518db9b7413fed (patch)
tree5db4776f60f500b3a291578dc5fee21babc9a707 /Library/Homebrew/keg_fix_install_names.rb
parent6833266bb0bfbc7628026176bd54ebd998e663d4 (diff)
downloadhomebrew-3e2f255b2ba9489e3370cdbd9f518db9b7413fed.tar.bz2
Use popen wrapper
Closes #30678.
Diffstat (limited to 'Library/Homebrew/keg_fix_install_names.rb')
-rw-r--r--Library/Homebrew/keg_fix_install_names.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb
index 0946c9215..933a1ce73 100644
--- a/Library/Homebrew/keg_fix_install_names.rb
+++ b/Library/Homebrew/keg_fix_install_names.rb
@@ -86,7 +86,7 @@ class Keg
end
def each_unique_file_matching string
- IO.popen("/usr/bin/fgrep -lr '#{string}' '#{self}' 2>/dev/null", "rb") do |io|
+ Utils.popen_read("/usr/bin/fgrep", "-lr", string, to_s) do |io|
hardlinks = Set.new
until io.eof?