diff options
| author | Max Howell | 2010-11-13 22:45:22 +0000 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-12 11:55:04 -0800 |
| commit | 167721c4ab37c4e61171c1c5aa70bed800ff0a8b (patch) | |
| tree | dcc64b93cf50ff6064c2b2594d9f75dcfcb901ca /Library/Formula | |
| parent | 453a5c692b70ec9d55b5739e7af5b4d034798f2b (diff) | |
| download | homebrew-167721c4ab37c4e61171c1c5aa70bed800ff0a8b.tar.bz2 | |
MacOS.xcode_prefix
More robust code than before, and replaces all usage of `xcode-select -print-path`.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tcpflow.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/tcpflow.rb b/Library/Formula/tcpflow.rb index d03f12931..30eae9c42 100644 --- a/Library/Formula/tcpflow.rb +++ b/Library/Formula/tcpflow.rb @@ -11,8 +11,7 @@ class Tcpflow <Formula end def install - where = `xcode-select --print-path`.chomp - cp Dir["#{where}/usr/share/libtool/config/config.*"], "." + cp Dir["#{MacOS.xcode_prefix}/usr/share/libtool/config/config.*"], "." system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" |
