diff options
| author | Misty De Meo | 2014-01-03 18:24:54 -0800 |
|---|---|---|
| committer | Misty De Meo | 2014-01-03 18:24:54 -0800 |
| commit | a6c838b08a4a82807c6175181bd3545e639b8807 (patch) | |
| tree | b822586c72667decc44f6bab70fefa71d074025e /Library | |
| parent | 97bb9c5b73f493ddff3556c7932f740cf39db113 (diff) | |
| download | brew-a6c838b08a4a82807c6175181bd3545e639b8807.tar.bz2 | |
default_cc: locate already returns Pathnames
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 24c1b7181..067244c5f 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -99,7 +99,7 @@ module OS def default_cc cc = locate 'cc' - Pathname.new(cc).realpath.basename.to_s rescue nil + cc.realpath.basename.to_s rescue nil end def default_compiler |
