diff options
| author | Jack Nagel | 2014-04-21 22:41:49 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-21 22:47:15 -0500 |
| commit | 7f62b4a45d14d4153ad3852de7ed52bcbfa44454 (patch) | |
| tree | ea0174387a9eacf2de1fbee1fb3528c832e3f345 | |
| parent | 98e57bcaae4033cee88b27b26d7d6f91717a5cdf (diff) | |
| download | homebrew-7f62b4a45d14d4153ad3852de7ed52bcbfa44454.tar.bz2 | |
Rely on the build environment rather than use MacOS.locate
Our build environment setup ensures these tools will be on the PATH,
so we shouldn't use private API to find them.
| -rw-r--r-- | Library/Formula/ispell.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/libmxml.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/ispell.rb b/Library/Formula/ispell.rb index 36740b5fa..bd8452538 100644 --- a/Library/Formula/ispell.rb +++ b/Library/Formula/ispell.rb @@ -25,7 +25,7 @@ class Ispell < Formula chmod 0644, "config.sh" inreplace "config.sh" do |s| s.gsub! '/usr/share/dict', "#{share}/dict" - s.gsub! /yacc/, MacOS.locate('yacc') + s.gsub! /yacc/, "yacc" end (lib/'ispell').mkpath diff --git a/Library/Formula/libmxml.rb b/Library/Formula/libmxml.rb index d7c38c0b6..9a4df48ea 100644 --- a/Library/Formula/libmxml.rb +++ b/Library/Formula/libmxml.rb @@ -14,7 +14,7 @@ class Libmxml < Formula "--prefix=#{prefix}" # Makefile hard-codes the path to /Developer - inreplace "Makefile", "/Developer/usr/bin/docsetutil", MacOS.locate('docsetutil') + inreplace "Makefile", "/Developer/usr/bin/docsetutil", "docsetutil" system "make" system "make install" |
