From 07cc9adf199d99aad44f4384dc15ea721dfc706f Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 26 Feb 2014 20:29:05 -0800 Subject: opensc: use Formula[] --- Library/Formula/opensc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/opensc.rb b/Library/Formula/opensc.rb index 3923449a7..b594c899f 100644 --- a/Library/Formula/opensc.rb +++ b/Library/Formula/opensc.rb @@ -23,7 +23,7 @@ class Opensc < Formula # If OpenSC's configure script detects docbook it will build manual # pages. This extends the spirit of that logic to support homebrew # installed docbook. - docbook = Formula.factory 'docbook' + docbook = Formula["docbook"] if docbook.installed? # OpenSC looks in a set of common paths for docbook's xsl files, # but not in /usr/local, and certainly not in homebrew's -- cgit v1.2.3