aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 23:00:56 -0800
committerAdam Vandenberg2014-02-27 08:21:18 -0800
commit3c507729dbd4a3d3074d599024a055f1225d8a30 (patch)
tree40b3fd08a75077acfe2bcc99ce17e8d9564bfe28 /Library/Formula
parent82ce07f1e09d6f07db5c4005b6a7849190106edb (diff)
downloadhomebrew-3c507729dbd4a3d3074d599024a055f1225d8a30.tar.bz2
influxdb: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/influxdb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/influxdb.rb b/Library/Formula/influxdb.rb
index ee3100dfd..2eb3070f7 100644
--- a/Library/Formula/influxdb.rb
+++ b/Library/Formula/influxdb.rb
@@ -25,8 +25,8 @@ class Influxdb < Formula
def install
ENV["GOPATH"] = buildpath
- flex = Formula.factory("flex").bin/"flex"
- bison = Formula.factory("bison").bin/"bison"
+ flex = Formula["flex"].bin/"flex"
+ bison = Formula["bison"].bin/"bison"
system "./configure", "--with-flex=#{flex}", "--with-bison=#{bison}"
system "make", "dependencies", "protobuf", "parser"