aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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