diff options
| author | Misty De Meo | 2013-04-20 23:03:47 -0500 |
|---|---|---|
| committer | Misty De Meo | 2013-04-25 18:23:43 -0500 |
| commit | f4cf04b95e95beb87d8074820567ecec6dd571bd (patch) | |
| tree | 420689e24da30cb7ca5b9a26876ea328d8ac9e90 /Library | |
| parent | 814b969963a0d8e19e493d2fffc3544393aa3448 (diff) | |
| download | brew-f4cf04b95e95beb87d8074820567ecec6dd571bd.tar.bz2 | |
doctor: don't shell out in coreutils check
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 3f94b678d..260a8c2af 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -952,7 +952,7 @@ def check_for_bad_python_symlink end def check_for_non_prefixed_coreutils - gnubin = `brew --prefix coreutils`.chomp + "/libexec/gnubin" + gnubin = Formula.factory('coreutils').prefix.to_s + "/libexec/gnubin" if paths.include? gnubin then <<-EOS.undent Putting non-prefixed coreutils in your path can cause gmp builds to fail. EOS |
