aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-10-22 13:29:23 -0500
committerJack Nagel2013-10-22 13:31:15 -0500
commitb1d06ba1361088300eece63dab760f4236da7b86 (patch)
tree4a8c999446ba7d3b06fe76996153468d3adf2194 /Library/Formula
parent13c2681d55a89cd01a72b722d009c5b809d9df5f (diff)
downloadhomebrew-b1d06ba1361088300eece63dab760f4236da7b86.tar.bz2
mecab-unidic: don't run command in caveats
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mecab-unidic.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/mecab-unidic.rb b/Library/Formula/mecab-unidic.rb
index 7993666c9..89506480c 100644
--- a/Library/Formula/mecab-unidic.rb
+++ b/Library/Formula/mecab-unidic.rb
@@ -13,14 +13,9 @@ class MecabUnidic < Formula
system "make", "install"
end
-
def caveats; <<-EOS.undent
If you want to use UniDic, please rewrite "dicdir".
- #{mecab_dicdir}/etc/mecabrc
+ #{Formula.factory('mecab').opt_prefix}/etc/mecabrc
EOS
end
-
- def mecab_dicdir
- `mecab-config --prefix`.chomp!
- end
end