Permalink
Browse files

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.
  • Loading branch information...
jacknagel committed Apr 22, 2014
1 parent 2a30318 commit d67381fad5e12f318b75ab0889456da5398c4eb7
Showing with 2 additions and 2 deletions.
  1. +1 −1 Formula/ispell.rb
  2. +1 −1 Formula/libmxml.rb
View
@@ -25,7 +25,7 @@ def install
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
View
@@ -14,7 +14,7 @@ def install
"--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"

0 comments on commit d67381f

Please sign in to comment.