aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-05-08 00:13:37 -0500
committerJack Nagel2012-05-08 01:15:11 -0500
commit30abb5900fa87a1e7b05017024386827759ddbc8 (patch)
tree3f7d0dc175eb72e593a6def32a004b34f6808eea /Library
parent1d56cc28cc226e16cebee20630c79ff95d828551 (diff)
downloadhomebrew-30abb5900fa87a1e7b05017024386827759ddbc8.tar.bz2
sphinx: style nits
- use buildpath instead of Pathname.pwd - remove unrecognized '--disable-debug' Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sphinx.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/sphinx.rb b/Library/Formula/sphinx.rb
index e7f9a0ee5..da0c0132e 100644
--- a/Library/Formula/sphinx.rb
+++ b/Library/Formula/sphinx.rb
@@ -40,13 +40,11 @@ class Sphinx < Formula
end
def install
- lstem = Pathname.pwd+'libstemmer_c'
- Libstemmer.new.brew { lstem.install Dir['*'] }
+ Libstemmer.new.brew { (buildpath/'libstemmer_c').install Dir['*'] }
- args = ["--prefix=#{prefix}",
- "--disable-debug",
- "--disable-dependency-tracking",
- "--localstatedir=#{var}"]
+ args = %W[--prefix=#{prefix}
+ --disable-dependency-tracking
+ --localstatedir=#{var}]
# always build with libstemmer support
args << "--with-libstemmer"