aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmxml.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-21 22:41:49 -0500
committerJack Nagel2014-04-21 22:47:15 -0500
commit7f62b4a45d14d4153ad3852de7ed52bcbfa44454 (patch)
treeea0174387a9eacf2de1fbee1fb3528c832e3f345 /Library/Formula/libmxml.rb
parent98e57bcaae4033cee88b27b26d7d6f91717a5cdf (diff)
downloadhomebrew-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.
Diffstat (limited to 'Library/Formula/libmxml.rb')
-rw-r--r--Library/Formula/libmxml.rb2
1 files changed, 1 insertions, 1 deletions
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"