mongodb: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-25 22:07:10 -08:00
parent b7788be48e
commit 53738c8f6e

View file

@ -67,7 +67,7 @@ class Mongodb < Formula
if build.with? 'openssl'
args << '--ssl'
args << "--extrapath=#{Formula.factory('openssl').opt_prefix}"
args << "--extrapath=#{Formula["openssl"].opt_prefix}"
end
scons 'install', *args