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 | 8ec6123d439e8f4d3586bbca6a426b726bd5e9dd (patch) | |
| tree | 001584c3b7e3bf02215b4749d1c037324031c1fc | |
| parent | 0e1d52c0d3945ae0ac69383c7734e425b7fbf8f1 (diff) | |
| download | homebrew-8ec6123d439e8f4d3586bbca6a426b726bd5e9dd.tar.bz2 | |
default_cc: locate already returns Pathnames
| -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 |
