aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-08-09 09:25:27 -0700
committerAdam Vandenberg2013-08-09 09:25:27 -0700
commit10105dfe1447de1209910fdb29ff4352c23275d2 (patch)
tree92981b77a1beccf4728f557cbe2320d14c3de40b /Library
parent69c86f0a1553a245765ccd8a7eaf23dc8f100df2 (diff)
downloadhomebrew-10105dfe1447de1209910fdb29ff4352c23275d2.tar.bz2
ispell: don't hard-code yacc path
Closes #21779.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ispell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ispell.rb b/Library/Formula/ispell.rb
index 4fa447c94..d49062dda 100644
--- a/Library/Formula/ispell.rb
+++ b/Library/Formula/ispell.rb
@@ -24,7 +24,7 @@ class Ispell < Formula
chmod 0644, "config.sh"
inreplace "config.sh" do |s|
s.gsub! '/usr/share/dict', "#{share}/dict"
- s.gsub! /yacc/, "/usr/bin/yacc"
+ s.gsub! /yacc/, MacOS.locate('yacc')
end
lib.mkpath